public class Constraint
extends java.lang.Object
symbols
.
It describes how Intervals where the to symbol-conditions hold
have to lie to each other in order to fulfill this constraint.Modifier and Type | Class and Description |
---|---|
static class |
Constraint.IntervalRelation
Describes the relation in which 2 Intervals are to each other.
|
Modifier and Type | Field and Description |
---|---|
Constraint.IntervalRelation[] |
relations
The IntervalRelations evaluated in a logical OR manner
|
char |
symbol1
The name of the first symbol
|
char |
symbol2
The name of the second symbol
|
Constructor and Description |
---|
Constraint(char symbol1,
char symbol2,
Constraint.IntervalRelation... relations)
Constructs a new ConstraintDef instance
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final char symbol1
public final char symbol2
public final Constraint.IntervalRelation[] relations
public Constraint(char symbol1, char symbol2, Constraint.IntervalRelation... relations)
symbol1
- the name of the first symbolsymbol2
- the name of the second symbolrelations
- the relations, where at least one of them has to be
fulfilled
in order to fulfill this ConstraintDef