net.sourceforge.cilib.algorithm
Interface GradientOptimisationAlgorithm

All Known Implementing Classes:
LFPSO

public interface GradientOptimisationAlgorithm

Enable the notion of a gradient based optimisation. All Algorithms that can be used to optimise a gradient based problem should implement this interface.

Author:
Edwin Peer

Method Summary
 int getGradientEvaluations()
          Get the number of evaluations that have been performed to determine the gradient.
 GradientOptimisationProblem getGradientOptimisationProblem()
          Accessor for the optimisation problem to be solved.
 void setGradientOptimisationProblem(GradientOptimisationProblem problem)
          Sets the optimisation problem to be solved.
 

Method Detail

setGradientOptimisationProblem

void setGradientOptimisationProblem(GradientOptimisationProblem problem)
Sets the optimisation problem to be solved.

Parameters:
problem - The OptimisationProblemAdapter to be solved.

getGradientOptimisationProblem

GradientOptimisationProblem getGradientOptimisationProblem()
Accessor for the optimisation problem to be solved.

Returns:
The OptimisationProblemAdapter to be solved.

getGradientEvaluations

int getGradientEvaluations()
Get the number of evaluations that have been performed to determine the gradient.

Returns:
The number of gradient evaluations.


Copyright © 2009 CIRG. All Rights Reserved.