edu.stanford.rsl.jpop
Class SimpleFunctionController
java.lang.Object
edu.stanford.rsl.jpop.FunctionController
edu.stanford.rsl.jpop.SimpleFunctionController
public class SimpleFunctionController
- extends FunctionController
Implements a single threaded FunctionController. Class is mainly implemented for testing and debugging.
- Author:
- akmaier
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFunctionController
public SimpleFunctionController()
evaluate
public double evaluate(OptimizableFunction function,
double[] x)
- Description copied from class:
FunctionController
- Evaluates the given Function and returns the result.
- Specified by:
evaluate
in class FunctionController
- Returns:
gradient
public double[] gradient(GradientOptimizableFunction function,
double[] x)
- Description copied from class:
FunctionController
- Evaluates the given Function's Gradient and returns the result.
- Specified by:
gradient
in class FunctionController
- Returns:
hessian
public double[][] hessian(HessianOptimizableFunction function,
double[] x)
- Description copied from class:
FunctionController
- Evaluates the given Function's Hessian and returns the result.
- Specified by:
hessian
in class FunctionController
- Returns: