ec.gp
Class GPInitializer
java.lang.Object
ec.Initializer
ec.simple.SimpleInitializer
ec.gp.GPInitializer
- All Implemented Interfaces:
- java.io.Serializable, Setup, Singleton
- public class GPInitializer
- extends SimpleInitializer
GPInitializer is a SimpleInitializer which sets up all the Cliques,
( the initial
[tree/node]constraints, types, and function sets) for the GP system.
Note that the Cliques must be set up in a very particular order:
- GPType
- GPNodeConstraints
- GPFunctionSets
- GPTreeConstraints
Parameter bases
gp.type |
GPTypes |
gp.nc |
GPNodeConstraints |
gp.tc |
GPTreeConstraints |
gp.fs |
GPFunctionSets |
- See Also:
- Serialized Form
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P_TYPE
public static final java.lang.String P_TYPE
- See Also:
- Constant Field Values
P_NODECONSTRAINTS
public static final java.lang.String P_NODECONSTRAINTS
- See Also:
- Constant Field Values
P_TREECONSTRAINTS
public static final java.lang.String P_TREECONSTRAINTS
- See Also:
- Constant Field Values
P_FUNCTIONSETS
public static final java.lang.String P_FUNCTIONSETS
- See Also:
- Constant Field Values
GPInitializer
public GPInitializer()
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 SimpleInitializer