|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.type.types.Types
public final class Types
Method Summary | |
---|---|
static int |
getDimension(Type value)
Get the dimension of the provided Type. |
static String |
getRepresentation(Type candidateSolution)
Get the representation of the type in the form expressed by the domain notation. |
static boolean |
isInsideBounds(Type candidateSolution)
Determine if the current type instance is within the defined bounds of the domain. |
static void |
reset(Type type)
Reset the current Resetable instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isInsideBounds(Type candidateSolution)
candidateSolution
-
public static String getRepresentation(Type candidateSolution)
Examples:
candidateSolution
- The type to represent.
String
representing the Type
in domain notation.public static int getDimension(Type value)
value
- The type to determine the dimension of.
public static void reset(Type type)
Resetable
instance.
type
- The type to reset
UnsupportedOperationException
- if the provided type is not Resetable
.Resetable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |