|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gpsys.Primitive
|
+--gpsys.Function
|
+--gpsys.lawnmower.AddVector2Mod8
Vector2Mod8 AddVector2Mod8(Vector2Mod8 v1, Vector2Mod8 v2)A Function that adds two Vector2Mod8 quantities and returns the result.
Primitive,
Function, Serialized Form| Fields inherited from class gpsys.Function |
argTypes |
| Fields inherited from class gpsys.Primitive |
type |
| Constructor Summary | |
AddVector2Mod8()
Create a Vector2Mod8 adder object. |
|
| Method Summary | |
java.lang.Object |
evaluateObject(Individual i,
Gene[] arguments)
Evaluate the ADF as one that return an Object (this is necessary since the evaluation actually returns a Vector2Mod8 object). |
Primitive |
instance()
Creates an instance of this Function. |
java.lang.String |
toString()
Returns a String representation of this Function. |
| Methods inherited from class gpsys.Function |
evaluateBoolean,
evaluateByte,
evaluateChar,
evaluateDouble,
evaluateFloat,
evaluateInt,
evaluateLong,
evaluateShort |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public AddVector2Mod8()
| Method Detail |
public final java.lang.Object evaluateObject(Individual i,
Gene[] arguments)
throws EvaluationException
i - The individual being evaluated.arguments - The Gene trees representing the arguments to be
added.public final Primitive instance()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||