edu.stanford.rsl.jpop
Class FunctionController
java.lang.Object
edu.stanford.rsl.jpop.FunctionController
- Direct Known Subclasses:
- ParallelFunctionController, SimpleFunctionController
public abstract class FunctionController
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionController
public FunctionController()
getAssembler
public FunctionAssembler getAssembler()
- Returns:
- the assembler
setAssembler
public void setAssembler(FunctionAssembler assembler)
- Parameters:
assembler
- the assembler to set
evaluate
public abstract double evaluate(OptimizableFunction function,
double[] x)
- Evaluates the given Function and returns the result.
- Parameters:
function
-
- Returns:
gradient
public abstract double[] gradient(GradientOptimizableFunction function,
double[] x)
- Evaluates the given Function's Gradient and returns the result.
- Parameters:
function
-
- Returns:
hessian
public abstract double[][] hessian(HessianOptimizableFunction function,
double[] x)
- Evaluates the given Function's Hessian and returns the result.
- Parameters:
function
-
- Returns: