geneticWedge.gp
Class Input
java.lang.Object
geneticWedge.gp.Component
geneticWedge.gp.Terminal
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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