|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.javabdd.BDDVarSet
net.sf.javabdd.BDDFactoryIntImpl.IntBDDVarSet
public class BDDFactoryIntImpl.IntBDDVarSet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.javabdd.BDDVarSet |
|---|
BDDVarSet.DefaultImpl |
| Constructor Summary | |
|---|---|
protected |
BDDFactoryIntImpl.IntBDDVarSet(int v)
|
| Method Summary | |
|---|---|
protected int |
do_intersect(int v1,
int v2)
|
protected int |
do_union(int v1,
int v2)
|
protected int |
do_unionvar(int v,
int var)
|
boolean |
equals(BDDVarSet that)
Returns true if the sets are equal. |
void |
free()
|
BDDFactory |
getFactory()
Returns the factory that created this BDDVarSet. |
int |
hashCode()
|
BDDVarSet |
id()
|
BDDVarSet |
intersect(BDDVarSet b)
Returns a new BDDVarSet that is the union of the current BDDVarSet and the given BDDVarSet. |
BDDVarSet |
intersectWith(BDDVarSet b)
Modifies this BDDVarSet to include all of the vars in the given set. |
boolean |
isEmpty()
|
int |
size()
|
int[] |
toArray()
|
BDD |
toBDD()
|
int[] |
toLevelArray()
|
BDDVarSet |
union(BDDVarSet b)
Returns a new BDDVarSet that is the union of the current BDDVarSet and the given BDDVarSet. |
BDDVarSet |
union(int var)
Returns a new BDDVarSet that is the union of the current BDDVarSet and the given variable. |
BDDVarSet |
unionWith(BDDVarSet b)
Modifies this BDDVarSet to include all of the vars in the given set. |
BDDVarSet |
unionWith(int var)
Modifies this BDDVarSet to include the given variable. |
| Methods inherited from class net.sf.javabdd.BDDVarSet |
|---|
equals, getDomains, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BDDFactoryIntImpl.IntBDDVarSet(int v)
| Method Detail |
|---|
public boolean equals(BDDVarSet that)
BDDVarSet
equals in class BDDVarSetthat - other set
public void free()
free in class BDDVarSetpublic BDDFactory getFactory()
BDDVarSetReturns the factory that created this BDDVarSet.
getFactory in class BDDVarSetpublic int hashCode()
hashCode in class BDDVarSetpublic BDDVarSet id()
id in class BDDVarSet
protected int do_intersect(int v1,
int v2)
public BDDVarSet intersect(BDDVarSet b)
BDDVarSetReturns a new BDDVarSet that is the union of the current BDDVarSet and the given BDDVarSet. This constructs a new set; neither the current nor the given BDDVarSet is modified.
intersect in class BDDVarSetb - BDDVarSet to union with
public BDDVarSet intersectWith(BDDVarSet b)
BDDVarSetModifies this BDDVarSet to include all of the vars in the given set. This modifies the current set in place and consumes the given set.
intersectWith in class BDDVarSetb - BDDVarSet to union in
public boolean isEmpty()
isEmpty in class BDDVarSetpublic int size()
size in class BDDVarSetpublic int[] toArray()
toArray in class BDDVarSetpublic BDD toBDD()
toBDD in class BDDVarSetpublic int[] toLevelArray()
toLevelArray in class BDDVarSet
protected int do_unionvar(int v,
int var)
protected int do_union(int v1,
int v2)
public BDDVarSet union(BDDVarSet b)
BDDVarSetReturns a new BDDVarSet that is the union of the current BDDVarSet and the given BDDVarSet. This constructs a new set; neither the current nor the given BDDVarSet is modified.
union in class BDDVarSetb - BDDVarSet to union with
public BDDVarSet union(int var)
BDDVarSetReturns a new BDDVarSet that is the union of the current BDDVarSet and the given variable. This constructs a new set; the current BDDVarSet is not modified.
union in class BDDVarSetpublic BDDVarSet unionWith(BDDVarSet b)
BDDVarSetModifies this BDDVarSet to include all of the vars in the given set. This modifies the current set in place and consumes the given set.
unionWith in class BDDVarSetb - BDDVarSet to union in
public BDDVarSet unionWith(int var)
BDDVarSetModifies this BDDVarSet to include the given variable. This modifies the current set in place.
unionWith in class BDDVarSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||