public enum InitialValue extends Enum<InitialValue>
Modifier and Type | Method and Description |
---|---|
float |
getVariableValue(GroundAtom atom)
Get the value that this enum represents.
|
static InitialValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InitialValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitialValue ZERO
public static final InitialValue ONE
public static final InitialValue HALF
public static final InitialValue RANDOM
public static final InitialValue ATOM
public static InitialValue[] values()
for (InitialValue c : InitialValue.values()) System.out.println(c);
public static InitialValue valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic float getVariableValue(GroundAtom atom)
Copyright © 2020 University of California, Santa Cruz. All rights reserved.