es.udc.gii.common.eaf.algorithm
Class CMAEvolutionaryAlgorithm

java.lang.Object
  extended by java.util.Observable
      extended by es.udc.gii.common.eaf.algorithm.EvolutionaryAlgorithm
          extended by es.udc.gii.common.eaf.algorithm.CMAEvolutionaryAlgorithm
All Implemented Interfaces:
Configurable

public class CMAEvolutionaryAlgorithm
extends EvolutionaryAlgorithm

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)

Field Summary
private  cma.CMASolution bestSolution
           
private  cma.CMAEvolutionStrategy cma
           
private  int currRuns
           
private  double incPopSizeFactor
           
private  int init_pop_size
           
private  double initialStandardDesviation
           
private  double initialX
           
private  int lamda
           
private  int mu
           
private  int numRuns
           
 
Fields inherited from class es.udc.gii.common.eaf.algorithm.EvolutionaryAlgorithm
CLOSE_LOGS_STATE, EVALUATE_STATE, FINAL_STATE, generations, INIT_EVALUATE_STATE, INIT_STATE, REPLACE_STATE, REPRODUCTION_STATE, SELECT_STATE, state
 
Constructor Summary
CMAEvolutionaryAlgorithm()
          Creates a new instance of CMAEvolutionaryStrategy
 
Method Summary
 void configure(org.apache.commons.configuration.Configuration conf)
          Configures the specific element that implements this method.
 java.lang.String getAlgorithmID()
           
 cma.CMASolution getBestSolution()
           
 cma.CMAEvolutionStrategy getCma()
           
protected  void init()
           
protected  void replace(Population toPopulation)
           
protected  void reproduce(Population population)
           
 void resolve(StopTest objective)
           
protected  void select(Population toPopulation)
           
private  void setBoundaries()
           
private  void setBoundaries(double[] lowerBounds, double[] upperBounds)
           
private  void setCMAPopulation()
           
 void updateParameters()
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.EvolutionaryAlgorithm
evaluate, evaluate, evaluate, getBestIndividual, getComparator, getEvalChain, getEvaluationStrategy, getFEs, getFinish, getGenerations, getMaxGenerations, getPopulation, getProblem, getReplaceChain, getReproductionChain, getSelectionChain, getState, getStopTest, getUserTag, resolve, setComparator, setEvalChain, setEvaluationStrategy, setFEs, setFinish, setMaxGenerations, setPopulation, setProblem, setReplaceChain, setReproductionChain, setSelectionChain, setStopTest, setUserTag
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cma

private cma.CMAEvolutionStrategy cma

numRuns

private int numRuns

currRuns

private int currRuns

incPopSizeFactor

private double incPopSizeFactor

mu

private int mu

lamda

private int lamda

bestSolution

private cma.CMASolution bestSolution

initialStandardDesviation

private double initialStandardDesviation

initialX

private double initialX

init_pop_size

private int init_pop_size
Constructor Detail

CMAEvolutionaryAlgorithm

public CMAEvolutionaryAlgorithm()
Creates a new instance of CMAEvolutionaryStrategy

Method Detail

configure

public void configure(org.apache.commons.configuration.Configuration conf)
Description copied from interface: Configurable
Configures the specific element that implements this method.

Specified by:
configure in interface Configurable
Overrides:
configure in class EvolutionaryAlgorithm
Parameters:
conf - a Configuration object.
See Also:
Configuration

setBoundaries

private void setBoundaries()

setBoundaries

private void setBoundaries(double[] lowerBounds,
                           double[] upperBounds)

resolve

public void resolve(StopTest objective)
Overrides:
resolve in class EvolutionaryAlgorithm

init

protected void init()
Overrides:
init in class EvolutionaryAlgorithm

updateParameters

public void updateParameters()
Overrides:
updateParameters in class EvolutionaryAlgorithm

replace

protected void replace(Population toPopulation)
Overrides:
replace in class EvolutionaryAlgorithm

getBestSolution

public cma.CMASolution getBestSolution()

select

protected void select(Population toPopulation)
Overrides:
select in class EvolutionaryAlgorithm

reproduce

protected void reproduce(Population population)
Overrides:
reproduce in class EvolutionaryAlgorithm

setCMAPopulation

private void setCMAPopulation()

getCma

public cma.CMAEvolutionStrategy getCma()

getAlgorithmID

public java.lang.String getAlgorithmID()
Overrides:
getAlgorithmID in class EvolutionaryAlgorithm