|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrwth.i2.ltlrv.util.SetUtils
public class SetUtils
SetUtils - Some static convenience methods for set operations.
Constructor Summary | |
---|---|
SetUtils()
|
Method Summary | ||
---|---|---|
static
|
clausesetProduct(Set<Set<T>> set1,
Set<Set<T>> set2,
Set<Set<T>> result)
Implements the (cartesian) product of two clause sets. |
|
static Set<IAFAState> |
clauseTT()
Constructs an empty clause which represents TT
(true ). |
|
static Set<Set<IAFAState>> |
emptyClauseSet()
Constructs an empty clause set. |
|
static Set<Set<IAFAState>> |
FF()
Constructs an empty clause set, representing FF. |
|
static Set<Set<IAFAState>> |
singletonClauseSet(IAFAState... elements)
Constructs a set holding one single clause holding the given terms. |
|
static Set<IAFAState> |
termClause(IAFAState... elements)
Constructs a term clause/set for the given elements. |
|
static Set<Set<IAFAState>> |
TT()
Constructs an empty clause set, which represents TT
(true ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetUtils()
Method Detail |
---|
public static Set<Set<IAFAState>> TT()
TT
(true
).
public static Set<IAFAState> clauseTT()
TT
(true
).
public static Set<IAFAState> termClause(IAFAState... elements)
elements
- some terms
public static Set<Set<IAFAState>> singletonClauseSet(IAFAState... elements)
elements
- some terms
public static Set<Set<IAFAState>> emptyClauseSet()
public static Set<Set<IAFAState>> FF()
public static <T> void clausesetProduct(Set<Set<T>> set1, Set<Set<T>> set2, Set<Set<T>> result)
T
- type parameter (optional, used to circumvent type inference)set1
- first factorset2
- second factorresult
- product of the two sets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |