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

All Known Subinterfaces:
Optimizable1DContinuousDifferentiable
All Known Implementing Classes:
FunctionExponential, FunctionNegativeXSquared, FunctionNumeric1DDifferentiation, FunctionXSquared, FunctionXXplusSinXX, MinToMax1D, MinToMax1DDifferentiable, MSWASSR.Symscore, ProjectNDto1DOptimizable, ProjectNDto1DOptimizableDifferentiable

public interface Optimizable1DContinuous

Interface for 1D 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.
 double getValue(double x)
          Gets the value of a function.
 

Method Detail

getValue

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

Parameters:
x - the input
Returns:
the value of the function

getDomainMin

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

Returns:
minimum domain

getDomainMax

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

Returns:
maximum domain

getDomainTolerance

double getDomainTolerance()
Gets the tolerance.

Returns:
domain tolerance