experiments
Class TestMaximization
java.lang.Object
experiments.TestMaximization
- All Implemented Interfaces:
- DifferentiableObjective
public class TestMaximization
- extends Object
- implements DifferentiableObjective
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
public double[] params
numValueCalls
public int numValueCalls
numGradientCalls
public int numGradientCalls
TestMaximization
public TestMaximization(double[] desiredValues,
double[] skew)
reset
public void reset()
getGradient
public void getGradient(double[] gradient)
- Specified by:
getGradient
in interface DifferentiableObjective
getValue
public double getValue()
- Specified by:
getValue
in interface DifferentiableObjective
getNumParameters
public int getNumParameters()
- Specified by:
getNumParameters
in interface DifferentiableObjective
getParameters
public void getParameters(double[] p)
- Specified by:
getParameters
in interface DifferentiableObjective
setParameters
public void setParameters(double[] newParameters)
- Specified by:
setParameters
in interface DifferentiableObjective
main
public static void main(String[] args)
Copyright © 2009. All Rights Reserved.