All Packages Class Hierarchy This Package Previous Next Index
Class gpsys.cos.Halt
java.lang.Object
|
+----gpsys.Primitive
|
+----gpsys.Terminal
|
+----gpsys.cos.Halt
- public class Halt
- extends Terminal
Vector2Mod10 Halt
A Terminal that instructs the terrain robot to halt.
- Author:
- Emmanuel PIERRE
DEA IARFA,
- See Also:
- Primitive, Terminal
-
Halt(Robot)
- Create a new Halt terminal which controls the specified terrain robot.
-
evaluateObject(Individual)
- Evaluates this Terminal, causing the robot nothing but live longer !
-
instance()
- Creates a new instance of this Object.
-
toString()
- Returns a String representation of this Terminal.
Halt
public Halt(Robot robot)
- Create a new Halt terminal which controls the specified terrain robot.
- Parameters:
- robot - The robot to be controlled.
evaluateObject
public final Object evaluateObject(Individual i)
- Evaluates this Terminal, causing the robot nothing but live longer !
- Parameters:
- i - The individual being evaluated.
- Returns:
- An Object (actually a Vector2Mod10) representing the
Zero Vector2Mod10.
- Overrides:
- evaluateObject in class Terminal
instance
public final Primitive instance()
- Creates a new instance of this Object.
- Returns:
- A reference to this same Object since none of the instance
variables are to be changed.
- Overrides:
- instance in class Primitive
toString
public String toString()
- Returns a String representation of this Terminal.
- Returns:
- A String containing the name of the Terminal.
- Overrides:
- toString in class Primitive
All Packages Class Hierarchy This Package Previous Next Index