ec
Interface Setup
- All Known Subinterfaces:
- Clique, Fitness, GPNodeParent, GPNodeSelector, Group, Problem, Prototype, Singleton
- public interface Setup
- extends java.io.Serializable
Setup classes are classes which get set up once from user-supplied parameters
prior to being used.
Defines a single method, setup(...), which is called at least once for the
object, or for some object from which it was cloned. This method
allows the object to set itself up by reading from parameter lists and
files on-disk. You may assume that this method is called in a non-threaded
environment, hence your thread number is 0 (so you can determine which
random number generator to use).
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. |
setup
public 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.
If an ancestor implements this method, be sure to call
super.setup(state,base); before you do anything else.