|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Strand>
com.azalient.api.b.trips.Strand
public enum Strand
The strands of DNA in each trip. Each strand holds a number taken from a distribution.
| Method Summary | |
|---|---|
boolean |
active(TripMode mode)
Returns true if this Strand is active in the given mode. |
static Strand |
directionStrand(IAngle a)
|
boolean |
isGaussian()
Returns true if this strand holds numbers from a Gaussian distribution, false if it is a uniform distribution |
static Strand |
routePerturbationStrand(int exitIndex)
Return a strand based on the exit number. |
static Strand |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Strand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Strand LENGTH
public static final Strand WIDTH
public static final Strand HEIGHT
public static final Strand WEIGHT
public static final Strand SPEED
public static final Strand SPACE
public static final Strand SHAPE
public static final Strand ROUTE_CHOOSER_SERVICE
public static final Strand ROUTE_CHOOSER_DEST
public static final Strand ROUTE_CHOOSER_COURSE
public static final Strand ROUTE_CHOOSER_N
public static final Strand ROUTE_CHOOSER_E
public static final Strand ROUTE_CHOOSER_S
public static final Strand ROUTE_CHOOSER_W
public static final Strand ROUTE_FIRST_TWIG
public static final Strand LANE_CHOOSER
public static final Strand TRANSPORT_ALIGHTING
public static final Strand TRANSPORT_BOARDING
public static final Strand PARKING_BAYS
public static final Strand PARKING_DIVISION
public static final Strand OFF_NETWORK
public static final Strand DISTANCE_G
public static final Strand TIME_G
public static final Strand DISTANCE_U
public static final Strand TIME_U
public static final Strand RESERVED_U_01
public static final Strand RESERVED_U_02
public static final Strand RESERVED_U_03
public static final Strand RESERVED_U_04
public static final Strand RESERVED_G_01
public static final Strand RESERVED_G_02
public static final Strand RESERVED_G_03
public static final Strand RESERVED_G_04
public static final Strand API_U_01
public static final Strand API_U_02
public static final Strand API_U_03
public static final Strand API_U_04
public static final Strand API_U_05
public static final Strand API_U_06
public static final Strand API_U_07
public static final Strand API_U_08
public static final Strand API_G_01
public static final Strand API_G_02
public static final Strand API_G_03
public static final Strand API_G_04
public static final Strand API_G_05
public static final Strand AGGRESSION
public static final Strand AWARENESS
public static final Strand PATIENCE
| Method Detail |
|---|
public static Strand[] values()
for (Strand c : Strand.values()) System.out.println(c);
public static Strand valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isGaussian()
public boolean active(TripMode mode)
public static Strand directionStrand(IAngle a)
public static Strand routePerturbationStrand(int exitIndex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||