fr.inria.optimization.cmaes
Class CMASolution

java.lang.Object
  extended by fr.inria.optimization.cmaes.CMASolution
All Implemented Interfaces:
ISolutionPoint, java.io.Serializable

public class CMASolution
extends java.lang.Object
implements ISolutionPoint, java.io.Serializable

solution point in search space. Rather plain implementation of the interface ISolutionPoint.

See Also:
ISolutionPoint, Serialized Form

Constructor Summary
CMASolution()
           
CMASolution(double[] x)
           
CMASolution(double[] x, double fitnessValue, long evaluation)
           
 
Method Summary
 CMASolution deepCopy()
           
 long getEvaluationNumber()
          count at what evaluation number the search point x was evaluated
 double getFitness()
          objective function value (fitness) of the search point x
 double[] getX()
          value of the point in search space, that is in the preimage of the objective function to be optimized
 void setEvaluationNumber(long e)
          count at what evaluation number the search point x was evaluated
 void setFitness(double f)
          objective function value (fitness) of the search point x
 void setX(double[] x_in)
          value of the solution point in search space, the preimage of the objective function to be optimized
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMASolution

public CMASolution()

CMASolution

public CMASolution(double[] x,
                   double fitnessValue,
                   long evaluation)

CMASolution

public CMASolution(double[] x)
Method Detail

deepCopy

public CMASolution deepCopy()

getFitness

public double getFitness()
Description copied from interface: ISolutionPoint
objective function value (fitness) of the search point x

Specified by:
getFitness in interface ISolutionPoint

getEvaluationNumber

public long getEvaluationNumber()
Description copied from interface: ISolutionPoint
count at what evaluation number the search point x was evaluated

Specified by:
getEvaluationNumber in interface ISolutionPoint

getX

public double[] getX()
Description copied from interface: ISolutionPoint
value of the point in search space, that is in the preimage of the objective function to be optimized

Specified by:
getX in interface ISolutionPoint

setFitness

public void setFitness(double f)
Description copied from interface: ISolutionPoint
objective function value (fitness) of the search point x

Specified by:
setFitness in interface ISolutionPoint

setEvaluationNumber

public void setEvaluationNumber(long e)
Description copied from interface: ISolutionPoint
count at what evaluation number the search point x was evaluated

Specified by:
setEvaluationNumber in interface ISolutionPoint

setX

public void setX(double[] x_in)
Description copied from interface: ISolutionPoint
value of the solution point in search space, the preimage of the objective function to be optimized

Specified by:
setX in interface ISolutionPoint