ec.de
Class Rand1ExpDEBreeder

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

public class Rand1ExpDEBreeder
extends DEBreeder

Rand1ExpDEBreeder implements the DE/rand/1/exp Differential Evolution Algorithm, explored recently in the "Differential Evolution: A Practical Approach to Global Optimization" book by Kenneth Price, Rainer Storn, and Jouni Lampinen. 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 and book.

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

Field Summary
 double Cr
           
 double F
           
static java.lang.String P_Cr
           
static java.lang.String P_F
           
 
Fields inherited from class ec.de.DEBreeder
previousPopulation, SCALE_F
 
Constructor Summary
Rand1ExpDEBreeder()
           
 
Method Summary
 Individual createIndividual(EvolutionState state, int subpop, Individual[] inds, int index, int thread)
           
 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, prepareDEBreeder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_Cr

public static final java.lang.String P_Cr
See Also:
Constant Field Values

Cr

public double Cr

P_F

public static final java.lang.String P_F
See Also:
Constant Field Values

F

public double F
Constructor Detail

Rand1ExpDEBreeder

public Rand1ExpDEBreeder()
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 DEBreeder

createIndividual

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