|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gpsys.Primitive
|
+--gpsys.Function
|
+--gpsys.primitives.GE
BOOLEAN GE(<typeX> lvalue, <typeX> rvalue)GE is a generic function that tests if the first argument is greater than or equal to the second argument. GE needs to be Type instantiated during construction to work with particular argument Types. The supported argument Types include BYTE, SHORT, INT, LONG, FLOAT and DOUBLE.
Type,
Primitive,
Function, Serialized Form| Fields inherited from class gpsys.Function |
argTypes |
| Fields inherited from class gpsys.Primitive |
type |
| Constructor Summary | |
GE(Type argTypes)
Constructs a GE Function that works with the specified Type. |
|
| Method Summary | |
boolean |
evaluateBoolean(Individual i,
Gene[] arguments)
Used to execute the GE test for arguments of any of the supported Types. |
Primitive |
instance()
Creates an instance of this GE object. |
java.lang.String |
toString()
Returns a String representation of this Function. |
| Methods inherited from class gpsys.Function |
evaluateByte,
evaluateChar,
evaluateDouble,
evaluateFloat,
evaluateInt,
evaluateLong,
evaluateObject,
evaluateShort |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public GE(Type argTypes)
type - The Type of this GE Function.| Method Detail |
public final boolean evaluateBoolean(Individual i,
Gene[] arguments)
throws EvaluationException
i - The individual being evaluated.arguments - The Gene trees representing the arguments to be tested.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 | ||||||||