public static enum BasicNeighborModule.PermutationType extends java.lang.Enum<BasicNeighborModule.PermutationType>
Neighbor
operator for the PermutationGenotype
.Enum Constant and Description |
---|
INSERT
Use the
NeighborPermutationInsert . |
MIXED
Use the
NeighborPermutationMixed . |
REVERT
Use the
NeighborPermutationRevert . |
SWAP
Use the
NeighborPermutationSwap . |
Modifier and Type | Method and Description |
---|---|
static BasicNeighborModule.PermutationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicNeighborModule.PermutationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicNeighborModule.PermutationType MIXED
NeighborPermutationMixed
.public static final BasicNeighborModule.PermutationType SWAP
NeighborPermutationSwap
.public static final BasicNeighborModule.PermutationType INSERT
NeighborPermutationInsert
.public static final BasicNeighborModule.PermutationType REVERT
NeighborPermutationRevert
.public static BasicNeighborModule.PermutationType[] values()
for (BasicNeighborModule.PermutationType c : BasicNeighborModule.PermutationType.values()) System.out.println(c);
public static BasicNeighborModule.PermutationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null