geneticWedge.gp
Class Terminal

java.lang.Object
  extended by geneticWedge.gp.Component
      extended by geneticWedge.gp.Terminal
Direct Known Subclasses:
Constant, Input

public abstract class Terminal
extends Component

Terminal is an abstract class that represents Components that should be used at leaf nodes within a tree (Individual). Terminals may be fixed values (Constants) or variables (Inputs)


Constructor Summary
Terminal()
           
 
Method Summary
 double getValue()
          Returns the value of this Terminal
 
Methods inherited from class geneticWedge.gp.Component
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Terminal

public Terminal()
Method Detail

getValue

public double getValue()
Returns the value of this Terminal