experiments
Class TestMaximization

java.lang.Object
  extended by experiments.TestMaximization
All Implemented Interfaces:
DifferentiableObjective

public class TestMaximization
extends Object
implements DifferentiableObjective


Field Summary
 int numGradientCalls
           
 int numValueCalls
           
 double[] params
           
 
Constructor Summary
TestMaximization(double[] desiredValues, double[] skew)
           
 
Method Summary
 void getGradient(double[] gradient)
           
 int getNumParameters()
           
 void getParameters(double[] p)
           
 double getValue()
           
static void main(String[] args)
           
 void reset()
           
 void setParameters(double[] newParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

public double[] params

numValueCalls

public int numValueCalls

numGradientCalls

public int numGradientCalls
Constructor Detail

TestMaximization

public TestMaximization(double[] desiredValues,
                        double[] skew)
Method Detail

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.