geneticWedge.gp
Class Input

java.lang.Object
  extended by geneticWedge.gp.Component
      extended by geneticWedge.gp.Terminal
          extended by geneticWedge.gp.Input

public class Input
extends Terminal

A Terminal with a variable value. Note that an Input's value will be set by a Population or Individual object when evaluating outputs in response to particular input values. An Input's value should not be set directly by users.


Constructor Summary
Input(int inputNumber)
          Note: user must ensure that input number is unique, to allow identification of input
Input(java.lang.String inputName)
          Note: users must ensure that input name is unique, to allow identification of input.
 
Method Summary
 void setValue(double val)
           
 java.lang.String toString()
          Returns a String representation of this object
 
Methods inherited from class geneticWedge.gp.Terminal
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input

public Input(java.lang.String inputName)
Note: users must ensure that input name is unique, to allow identification of input.


Input

public Input(int inputNumber)
Note: user must ensure that input number is unique, to allow identification of input

Method Detail

setValue

public void setValue(double val)

toString

public java.lang.String toString()
Returns a String representation of this object

Specified by:
toString in class Component