net.sourceforge.cilib.problem
Class GradientFunctionMinimisationProblem

java.lang.Object
  extended by net.sourceforge.cilib.problem.OptimisationProblemAdapter
      extended by net.sourceforge.cilib.problem.FunctionOptimisationProblem
          extended by net.sourceforge.cilib.problem.FunctionMinimisationProblem
              extended by net.sourceforge.cilib.problem.GradientFunctionMinimisationProblem
All Implemented Interfaces:
Serializable, GradientOptimisationProblem, OptimisationProblem, Problem, Cloneable

public class GradientFunctionMinimisationProblem
extends FunctionMinimisationProblem
implements GradientOptimisationProblem

Author:
Edwin Peer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.problem.FunctionOptimisationProblem
function
 
Fields inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter
dataSetBuilder, fitnessEvaluations
 
Constructor Summary
GradientFunctionMinimisationProblem()
          Creates a new instance of GradientFunctionMinimisationProblem.
 
Method Summary
 Vector getGradient(Vector position)
          Returns the gradient of the optimisation problem at the given position.
 
Methods inherited from class net.sourceforge.cilib.problem.FunctionMinimisationProblem
calculateFitness, getClone, getError
 
Methods inherited from class net.sourceforge.cilib.problem.FunctionOptimisationProblem
accept, getBehaviouralDomain, getDomain, getFunction, setFunction
 
Methods inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter
changeEnvironment, getChangeStrategy, getDataSetBuilder, getFitness, getFitnessEvaluations, setChangeStrategy, setDataSetBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientFunctionMinimisationProblem

public GradientFunctionMinimisationProblem()
Creates a new instance of GradientFunctionMinimisationProblem.

Method Detail

getGradient

public Vector getGradient(Vector position)
Returns the gradient of the optimisation problem at the given position.

Specified by:
getGradient in interface GradientOptimisationProblem
Parameters:
position - the position.
Returns:
the gradient at position.


Copyright © 2009 CIRG. All Rights Reserved.