| Modifier and Type | Method and Description |
|---|---|
double |
cardinality() |
void |
clear()
empties the set.
|
int |
compare(Set s)
NOTE: both sets must be created with the same type of universe!
|
Set |
copy()
creates a deep copy of this set.
|
Set |
diff(Set s1)
NOTE: sets must be from the same universe
|
SetEnumeration |
elements() |
boolean |
equals(Set s)
NOTE: the sets must be created with the same type of universe!
|
void |
free()
free the memory used by this set.
|
boolean |
insert(int[] value)
insert a value into the set.
|
Set |
intersection(Set s1) |
Set |
invert() |
boolean |
isEmpty() |
boolean |
member(int[] value)
set membership test.
|
boolean |
remove(int[] value)
remove a value from the set.
|
Set |
union(Set s1) |
void free()
NOTE: you can/need not to call this function after theUniverse has been freed!
Universedouble cardinality()
boolean insert(int[] value)
boolean remove(int[] value)
boolean member(int[] value)
int compare(Set s)
boolean equals(Set s)
boolean isEmpty()
Set invert()
Set copy()
void clear()
NOTE: this does not return the memory allocated by this set. to do that, call free()
free()Set intersection(Set s1)
Set diff(Set s1)
NOTE: sets must be from the same universe
SetEnumeration elements()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.