edu.stanford.rsl.jpop
Class ParallelFunctionController
- java.lang.Object
-
- edu.stanford.rsl.jpop.FunctionController
-
- edu.stanford.rsl.jpop.ParallelFunctionController
-
public class ParallelFunctionController extends FunctionController
Class to process the gradient evaluations in parallel to speed up computationally expensive function / gradient / Hessian evaluations.
-
-
Constructor Summary
Constructors Constructor and Description ParallelFunctionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleevaluate(OptimizableFunction function, double[] x)Evaluates the given Function and returns the result.double[]gradient(GradientOptimizableFunction function, double[] x)Evaluates the given Function's Gradient and returns the result.double[][]hessian(HessianOptimizableFunction function, double[] x)Evaluates the given Function's Hessian and returns the result.-
Methods inherited from class edu.stanford.rsl.jpop.FunctionController
getAssembler, setAssembler
-
-
-
-
Method Detail
-
evaluate
public double evaluate(OptimizableFunction function, double[] x)
Description copied from class:FunctionControllerEvaluates the given Function and returns the result.- Specified by:
evaluatein classFunctionController- Returns:
-
gradient
public double[] gradient(GradientOptimizableFunction function, double[] x)
Description copied from class:FunctionControllerEvaluates the given Function's Gradient and returns the result.- Specified by:
gradientin classFunctionController- Returns:
-
hessian
public double[][] hessian(HessianOptimizableFunction function, double[] x)
Description copied from class:FunctionControllerEvaluates the given Function's Hessian and returns the result.- Specified by:
hessianin classFunctionController- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG