org.primordion.ealontro.gp
Class XhSimpleEvolutionState

java.lang.Object
  extended byec.EvolutionState
      extended byec.simple.SimpleEvolutionState
          extended byorg.primordion.ealontro.gp.XhSimpleEvolutionState
All Implemented Interfaces:
java.io.Serializable, ec.Setup, ec.Singleton

public class XhSimpleEvolutionState
extends ec.simple.SimpleEvolutionState

Xholon version of ECJ SimpleEvolutionState.

Since:
0.3 (Created on May 27, 2006)
Author:
Ken Webb
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ec.EvolutionState
breeder, breedthreads, C_STARTED_FRESH, C_STARTED_FROM_CHECKPOINT, checkpoint, checkpointModulo, checkpointPrefix, evalthreads, evaluator, exchanger, finisher, generation, initializer, job, numGenerations, output, P_BREEDER, P_CHECKPOINT, P_CHECKPOINTMODULO, P_CHECKPOINTPREFIX, P_EVALUATOR, P_EXCHANGER, P_FINISHER, P_GENERATIONS, P_INITIALIZER, P_QUITONRUNCOMPLETE, P_STATISTICS, parameters, population, quitOnRunComplete, R_FAILURE, R_NOTDONE, R_SUCCESS, random, randomSeedOffset, runtimeArguments, statics, statistics
 
Constructor Summary
XhSimpleEvolutionState()
           
 
Method Summary
 int evolve()
           
 void finish(int result)
           
static void setRoot(IXholon root)
          Set the IXholon root node.
 void startFresh()
           
 
Methods inherited from class ec.EvolutionState
resetFromCheckpoint, run, setup, startFromCheckpoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XhSimpleEvolutionState

public XhSimpleEvolutionState()
Method Detail

setRoot

public static void setRoot(IXholon root)
Set the IXholon root node.

Parameters:
root - The intended root node.

startFresh

public void startFresh()

evolve

public int evolve()

finish

public void finish(int result)