Modifier and Type | Method and Description |
---|---|
static Probability |
Probability.get(java.lang.String id) |
static Probability |
Probability.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Probability[] |
Probability.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Constraint.post(java.lang.String name,
Probability probability)
This method is used to post the constraint assuming that it can be violated.
|