edu.jhu.bme.smile.commons.optimize
Interface OptimizableNDContinuous

All Known Subinterfaces:
OptimizableNDContinuousDifferentiable
All Known Implementing Classes:
FunctionNegativeXSquaredND, FunctionNumericND1DDifferentiation, FunctionNumericNDDifferentiation, FunctionRosenbrock, FunctionXSquaredND, FunctionXXplusSinXXND, FunctionXXYYND, MinToMaxND, MinToMaxNDDifferentiable

public interface OptimizableNDContinuous

Interface for ND functions.

Author:
Yufeng Guo, Hanlin Wan

Method Summary
 double[] getDomainMax()
          Gets the maximum input of the function.
 double[] getDomainMin()
          Gets the minimum input of the function.
 double getDomainTolerance()
          Gets the tolerance
 int getNumberOfDimensions()
          Gets the number of dimensions of the function.
 double getValue(double[] x)
          Gets the value of a function.
 

Method Detail

getNumberOfDimensions

int getNumberOfDimensions()
Gets the number of dimensions of the function.

Returns:
number of dimensions

getValue

double getValue(double[] x)
Gets the value of a function.

Parameters:
x - array of inputs
Returns:
the value of the function

getDomainMin

double[] getDomainMin()
Gets the minimum input of the function.

Returns:
array of minimum domains

getDomainMax

double[] getDomainMax()
Gets the maximum input of the function.

Returns:
array of maximum domains

getDomainTolerance

double getDomainTolerance()
Gets the tolerance

Returns:
domain tolerance