|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.ast.Formula
kodkod.ast.RelationPredicate
kodkod.ast.RelationPredicate.TotalOrdering
public static final class RelationPredicate.TotalOrdering
Represents the total ordering predicate. The predicate states that the given
relation
imposes a total ordering over the set ordered
,
and that the smallest/largest elements resulting from the ordering are given
by the first
/last
relations.
name = TOTAL_ORDERING |
ordered.arity = first.arity = last.arity = 1 |
children = relation + ordered + first + last |
relation: Relation |
ordered, first, last: Relation |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class kodkod.ast.RelationPredicate |
---|
RelationPredicate.Acyclic, RelationPredicate.Function, RelationPredicate.Name, RelationPredicate.TotalOrdering |
Field Summary |
---|
Fields inherited from class kodkod.ast.Formula |
---|
FALSE, TRUE |
Method Summary | |
---|---|
Relation |
first()
Returns the relation representing the first element in the ordering imposed by this.relation. |
Relation |
last()
Returns the relation representing the last element in the ordering imposed by this.relation. |
RelationPredicate.Name |
name()
Returns the name of this predicate. |
Relation |
ordered()
Returns the relation representing the atoms which are ordered by this.relation. |
Formula |
toConstraints()
Turns this predicate into explicit constraiants. |
java.lang.String |
toString()
Returns the string representation of this predicate. |
Methods inherited from class kodkod.ast.RelationPredicate |
---|
accept, accept, relation |
Methods inherited from class kodkod.ast.Formula |
---|
and, compose, comprehension, forAll, forSome, iff, implies, not, or, quantify, thenElse, thenElse |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public RelationPredicate.Name name()
name
in class RelationPredicate
public Relation first()
public Relation last()
public Relation ordered()
public Formula toConstraints()
toConstraints
in class RelationPredicate
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |