|
|||||||||
| 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.LE
BOOLEAN LE(<typeX> lvalue, <typeX> rvalue)LE is a generic function that tests if the first argument is less than or equal to the second argument. LE needs to be Type instantiated during construction to work with particular argument Types. The supported argument Types include BYTE, SHORT, INT, LONG, FLOAT, DOUBLE, CHAR and BOOLEAN.
Type,
Primitive,
Function, Serialized Form| Fields inherited from class gpsys.Function |
argTypes |
| Fields inherited from class gpsys.Primitive |
type |
| Constructor Summary | |
LE(Type argTypes)
Constructs a LE Function that works with the specified Type. |
|
| Method Summary | |
boolean |
evaluateBoolean(Individual i,
Gene[] arguments)
Used to execute the LE test for arguments of any of the supported Types. |
Primitive |
instance()
Creates an instance of this LE 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 LE(Type argTypes)
type - The Type of this LE 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 | ||||||||