ec.gp
Class GPInitializer
java.lang.Object
|
+--ec.Initializer
|
+--ec.simple.SimpleInitializer
|
+--ec.gp.GPInitializer
- 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
P_NODECONSTRAINTS
public static final java.lang.String P_NODECONSTRAINTS
P_TREECONSTRAINTS
public static final java.lang.String P_TREECONSTRAINTS
P_FUNCTIONSETS
public static final java.lang.String P_FUNCTIONSETS
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.
- Overrides:
- setup in class SimpleInitializer