ec.app.sequence
Class MotifData

java.lang.Object
  extended by ec.gp.GPData
      extended by ec.app.sequence.MotifData
All Implemented Interfaces:
ec.Prototype, ec.Setup, java.io.Serializable, java.lang.Cloneable

public class MotifData
extends ec.gp.GPData

This is the basic evolutionary data bucket sent across and each one puts his results in the bucket.

Author:
udaykamath
See Also:
Serialized Form

Field Summary
 char[] anotherMotif
           
 int close
           
 char[] currentMotif
           
static int currentMotifLength
           
 int currentPosition
           
 char currentTerminal
           
 boolean matches
           
 
Fields inherited from class ec.gp.GPData
P_GPDATA
 
Constructor Summary
MotifData()
           
 
Method Summary
 void copyTo(ec.gp.GPData gpData)
          Modifies gpd so that gpd is equivalent to us.
 
Methods inherited from class ec.gp.GPData
clone, defaultBase, setup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matches

public boolean matches

currentPosition

public int currentPosition

currentMotifLength

public static int currentMotifLength

currentMotif

public char[] currentMotif

anotherMotif

public char[] anotherMotif

currentTerminal

public char currentTerminal

close

public int close
Constructor Detail

MotifData

public MotifData()
Method Detail

copyTo

public void copyTo(ec.gp.GPData gpData)
Description copied from class: ec.gp.GPData
Modifies gpd so that gpd is equivalent to us. You may safely assume that gpd is of the same class as we are. Do not share pointers with the other object, except to read-only data: instead, copy any read-write data as necessary.

Specified by:
copyTo in class ec.gp.GPData