simbad.picoevo.core.representation
Class MemoryModule

java.lang.Object
  extended by simbad.picoevo.core.representation.MemoryModule
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
MemoryModule_Individual_DoubleRegisters

public abstract class MemoryModule
extends java.lang.Object
implements java.lang.Cloneable

Useful for internal data storage at different element levels. A Core may (or may not) be passed on to the sub-elements (e.g. Element may/maynot access Individual object) e.g.: a core for linear register-based GP should contains registers for example, memory and so on and be accessed by attribute (which are instruction). Using such an object is not usual An example of practical use : Imagine you have a tree that contain Quantifier that are set to 1 only when a special value is encountered in a flow of data lines (case: tree is evaluated for each new line) and this quantifier stays at this value till the end of evaluation. The current class makes it possible to store the value for this quantifier. This is very handy when *one* quantifier can appear in several nodes in the tree (e.g. "true if existed in time before an occurence of data X" used in two subtrees)


Constructor Summary
MemoryModule()
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryModule

public MemoryModule()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object