ec.de
Class Best1BinDEBreeder

java.lang.Object
  extended by ec.Breeder
      extended by ec.de.DEBreeder
          extended by ec.de.Rand1ExpDEBreeder
              extended by ec.de.Best1BinDEBreeder
All Implemented Interfaces:
Setup, Singleton, java.io.Serializable

public class Best1BinDEBreeder
extends Rand1ExpDEBreeder

Best1BinDEBreeder implements the DE/best/1/bin Differential Evolution algorithm. The code relies (with permission from the original authors) on the DE algorithms posted at http://www.icsi.berkeley.edu/~storn/code.html . For more information on Differential Evolution, please refer to the aforementioned webpage.

Version:
1.0
Author:
Liviu Panait
See Also:
Serialized Form

Field Summary
 Individual[] bestSoFar
           
 
Fields inherited from class ec.de.Rand1ExpDEBreeder
Cr, F, P_Cr, P_F
 
Fields inherited from class ec.de.DEBreeder
previousPopulation, SCALE_F
 
Constructor Summary
Best1BinDEBreeder()
           
 
Method Summary
 Individual createIndividual(EvolutionState state, int subpop, Individual[] inds, int index, int thread)
           
 void prepareDEBreeder(EvolutionState state)
           
 void setup(EvolutionState state, Parameter base)
          Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.
 
Methods inherited from class ec.de.DEBreeder
breedPopulation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bestSoFar

public Individual[] bestSoFar
Constructor Detail

Best1BinDEBreeder

public Best1BinDEBreeder()
Method Detail

setup

public void setup(EvolutionState state,
                  Parameter base)
Description copied from interface: Setup
Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.

Specified by:
setup in interface Setup
Overrides:
setup in class Rand1ExpDEBreeder

prepareDEBreeder

public void prepareDEBreeder(EvolutionState state)
Overrides:
prepareDEBreeder in class DEBreeder

createIndividual

public Individual createIndividual(EvolutionState state,
                                   int subpop,
                                   Individual[] inds,
                                   int index,
                                   int thread)
Overrides:
createIndividual in class Rand1ExpDEBreeder