org.primordion.ealontro.ec.app.cartcentering
Class CartCentering

java.lang.Object
  extended byec.Problem
      extended byec.gp.GPProblem
          extended byorg.primordion.ealontro.ec.app.cartcentering.CartCentering
All Implemented Interfaces:
java.lang.Cloneable, ec.Prototype, java.io.Serializable, ec.Setup, ec.simple.SimpleProblemForm

public class CartCentering
extends ec.gp.GPProblem
implements ec.simple.SimpleProblemForm

See Also:
Serialized Form

Field Summary
 double acceleration
           
 double force
           
 DoubleData input
           
 double mass
           
static int MAX_VELOCITY
           
static int MAX_XPOSITION
           
static int maxHits
           
static int maxHitsScored
           
 int maxMoves
           
static int minHitsScored
           
static java.lang.String P_DATA
           
static java.lang.String P_MASS
           
static java.lang.String P_MOVES
           
static java.lang.String P_VELOCITY
           
static java.lang.String P_XPOSITION
           
 double velocity
           
 double velocityInit
           
 double xPosition
           
 double xPositionInit
           
 
Fields inherited from class ec.gp.GPProblem
data, P_GPPROBLEM, P_STACK, stack
 
Fields inherited from class ec.Problem
P_PROBLEM
 
Constructor Summary
CartCentering()
           
 
Method Summary
 java.lang.Object clone()
           
 void evaluate(ec.EvolutionState state, ec.Individual ind, int threadnum)
           
 void finishEvaluating(ec.EvolutionState state, int threadnum)
           
 void setup(ec.EvolutionState state, ec.util.Parameter base)
           
 
Methods inherited from class ec.gp.GPProblem
defaultBase, describe
 
Methods inherited from class ec.Problem
closeContacts, initializeContacts, prepareToEvaluate, reinitializeContacts
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ec.simple.SimpleProblemForm
describe
 

Field Detail

P_DATA

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

P_MOVES

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

P_XPOSITION

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

P_VELOCITY

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

P_MASS

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

MAX_XPOSITION

public static final int MAX_XPOSITION
See Also:
Constant Field Values

MAX_VELOCITY

public static final int MAX_VELOCITY
See Also:
Constant Field Values

maxHits

public static int maxHits

minHitsScored

public static int minHitsScored

maxHitsScored

public static int maxHitsScored

maxMoves

public int maxMoves

xPositionInit

public double xPositionInit

velocityInit

public double velocityInit

xPosition

public double xPosition

velocity

public double velocity

force

public double force

acceleration

public double acceleration

mass

public double mass

input

public DoubleData input
Constructor Detail

CartCentering

public CartCentering()
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface ec.Prototype

setup

public void setup(ec.EvolutionState state,
                  ec.util.Parameter base)
Specified by:
setup in interface ec.Prototype

evaluate

public void evaluate(ec.EvolutionState state,
                     ec.Individual ind,
                     int threadnum)
Specified by:
evaluate in interface ec.simple.SimpleProblemForm

finishEvaluating

public void finishEvaluating(ec.EvolutionState state,
                             int threadnum)