|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.javabdd.BDDFactory net.sf.javabdd.BDDFactoryIntImpl
public abstract class BDDFactoryIntImpl
A shared superclass for BDD factories that refer to BDDs as ints.
Nested Class Summary | |
---|---|
class |
BDDFactoryIntImpl.IntBDD
|
class |
BDDFactoryIntImpl.IntBDDBitVector
|
class |
BDDFactoryIntImpl.IntBDDVarSet
|
class |
BDDFactoryIntImpl.IntBDDVarSetWithFinalizer
|
class |
BDDFactoryIntImpl.IntBDDWithFinalizer
|
class |
BDDFactoryIntImpl.IntZDDVarSet
|
class |
BDDFactoryIntImpl.IntZDDVarSetWithFinalizer
|
Nested classes/interfaces inherited from class net.sf.javabdd.BDDFactory |
---|
BDDFactory.BDDOp, BDDFactory.CacheStats, BDDFactory.GCStats, BDDFactory.LoadHash, BDDFactory.ReorderMethod, BDDFactory.ReorderStats |
Field Summary | |
---|---|
protected int[] |
to_free
|
protected int |
to_free_length
|
Fields inherited from class net.sf.javabdd.BDDFactory |
---|
and, biimp, cachestats, diff, domain, fdvarnum, firstbddvar, gc_callbacks, gcstats, imp, invimp, less, nand, nor, or, reorder_callbacks, REORDER_NONE, REORDER_RANDOM, REORDER_SIFT, REORDER_SIFTITE, REORDER_WIN2, REORDER_WIN2ITE, REORDER_WIN3, REORDER_WIN3ITE, reorderstats, resize_callbacks, tokenizer, xor |
Constructor Summary | |
---|---|
BDDFactoryIntImpl()
|
Method Summary | |
---|---|
protected abstract void |
addref_impl(int v)
|
protected abstract int |
apply_impl(int v1,
int v2,
BDDFactory.BDDOp opr)
|
protected abstract int |
applyAll_impl(int v1,
int v2,
BDDFactory.BDDOp opr,
int v3)
|
protected abstract int |
applyEx_impl(int v1,
int v2,
BDDFactory.BDDOp opr,
int v3)
|
protected abstract int |
applyUni_impl(int v1,
int v2,
BDDFactory.BDDOp opr,
int v3)
|
protected abstract int |
compose_impl(int v1,
int v2,
int var)
|
protected abstract int |
constrain_impl(int v1,
int v2)
|
void |
deferredFree(int v)
|
protected abstract void |
delref_impl(int v)
|
void |
done()
This function frees all memory used by the BDD package and resets the package to its uninitialized state. |
BDDVarSet |
emptySet()
Get an empty BDDVarSet. |
protected abstract int |
exist_impl(int v1,
int v2)
|
protected void |
finalize()
|
protected abstract int |
forAll_impl(int v1,
int v2)
|
protected abstract int |
fullSatOne_impl(int v)
|
void |
handleDeferredFree()
|
protected abstract int |
high_impl(int v)
|
protected abstract int |
invalid_bdd_impl()
|
protected abstract int |
ite_impl(int v1,
int v2,
int v3)
|
protected abstract int |
ithVar_impl(int var)
|
BDD |
ithVar(int var)
Returns a BDD representing the I'th variable. |
protected abstract int |
level_impl(int v)
|
protected abstract int |
low_impl(int v)
|
protected BDDFactoryIntImpl.IntBDD |
makeBDD(int v)
|
protected BDDFactoryIntImpl.IntBDDVarSet |
makeBDDVarSet(int v)
|
protected abstract int |
makenode_impl(int lev,
int lo,
int hi)
|
protected abstract int |
nithVar_impl(int var)
|
BDD |
nithVar(int var)
Returns a BDD representing the negation of the I'th variable. |
protected abstract int |
nodeCount_impl(int v)
|
protected abstract int |
nodeCount_impl2(int[] v)
|
int |
nodeCount(Collection r)
Counts the number of shared nodes in a collection of BDDs. |
protected abstract int |
not_impl(int v1)
|
protected abstract int |
one_impl()
|
BDD |
one()
Get the constant true BDD. |
protected abstract double |
pathCount_impl(int v)
|
protected abstract void |
printTable_impl(int v)
|
void |
printTable(BDD b)
Prints the node table entries used by a BDD. |
protected abstract int |
replace_impl(int v,
BDDPairing p)
|
protected abstract int |
restrict_impl(int v1,
int v2)
|
protected abstract double |
satCount_impl(int v)
|
protected abstract int |
satOne_impl(int v)
|
protected abstract int |
satOne_impl2(int v1,
int v2,
boolean pol)
|
protected abstract int |
simplify_impl(int v1,
int v2)
|
protected abstract int |
support_impl(int v)
|
protected abstract int |
unique_impl(int v1,
int v2)
|
protected int |
universe_impl()
|
BDD |
universe()
Get the constant universe BDD. |
protected static int |
unwrap(BDD b)
|
protected static int |
unwrap(BDDVarSet b)
|
protected static int[] |
unwrap(Collection c)
|
protected abstract int |
var_impl(int v)
|
protected abstract int[] |
varProfile_impl(int v)
|
protected abstract int |
veccompose_impl(int v,
BDDPairing p)
|
protected abstract int |
zero_impl()
|
BDD |
zero()
Get the constant false BDD. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] to_free
protected int to_free_length
Constructor Detail |
---|
public BDDFactoryIntImpl()
Method Detail |
---|
protected abstract void addref_impl(int v)
protected abstract void delref_impl(int v)
protected abstract int zero_impl()
protected abstract int one_impl()
protected int universe_impl()
protected abstract int invalid_bdd_impl()
protected abstract int var_impl(int v)
protected abstract int level_impl(int v)
protected abstract int low_impl(int v)
protected abstract int high_impl(int v)
protected abstract int ithVar_impl(int var)
protected abstract int nithVar_impl(int var)
protected abstract int makenode_impl(int lev, int lo, int hi)
protected abstract int ite_impl(int v1, int v2, int v3)
protected abstract int apply_impl(int v1, int v2, BDDFactory.BDDOp opr)
protected abstract int not_impl(int v1)
protected abstract int applyAll_impl(int v1, int v2, BDDFactory.BDDOp opr, int v3)
protected abstract int applyEx_impl(int v1, int v2, BDDFactory.BDDOp opr, int v3)
protected abstract int applyUni_impl(int v1, int v2, BDDFactory.BDDOp opr, int v3)
protected abstract int compose_impl(int v1, int v2, int var)
protected abstract int constrain_impl(int v1, int v2)
protected abstract int restrict_impl(int v1, int v2)
protected abstract int simplify_impl(int v1, int v2)
protected abstract int support_impl(int v)
protected abstract int exist_impl(int v1, int v2)
protected abstract int forAll_impl(int v1, int v2)
protected abstract int unique_impl(int v1, int v2)
protected abstract int fullSatOne_impl(int v)
protected abstract int replace_impl(int v, BDDPairing p)
protected abstract int veccompose_impl(int v, BDDPairing p)
protected abstract int nodeCount_impl(int v)
protected abstract double pathCount_impl(int v)
protected abstract double satCount_impl(int v)
protected abstract int satOne_impl(int v)
protected abstract int satOne_impl2(int v1, int v2, boolean pol)
protected abstract int nodeCount_impl2(int[] v)
protected abstract int[] varProfile_impl(int v)
protected abstract void printTable_impl(int v)
protected BDDFactoryIntImpl.IntBDD makeBDD(int v)
protected static final int unwrap(BDD b)
protected static final int[] unwrap(Collection c)
protected BDDFactoryIntImpl.IntBDDVarSet makeBDDVarSet(int v)
protected static final int unwrap(BDDVarSet b)
public BDD ithVar(int var)
BDDFactory
Returns a BDD representing the I'th variable. (One node with the children true and false.) The requested variable must be in the (zero-indexed) range defined by setVarNum.
Compare to bdd_ithvar.
ithVar
in class BDDFactory
var
- the variable number
public BDD nithVar(int var)
BDDFactory
Returns a BDD representing the negation of the I'th variable. (One node with the children false and true.) The requested variable must be in the (zero-indexed) range defined by setVarNum.
Compare to bdd_nithvar.
nithVar
in class BDDFactory
var
- the variable number
public int nodeCount(Collection r)
BDDFactory
Counts the number of shared nodes in a collection of BDDs. Counts all distinct nodes that are used in the BDDs -- if a node is used in more than one BDD then it only counts once.
Compare to bdd_anodecount.
nodeCount
in class BDDFactory
public BDD one()
BDDFactory
Get the constant true BDD.
Compare to bdd_true.
one
in class BDDFactory
public BDD universe()
BDDFactory
Get the constant universe BDD. (The universe BDD differs from the one BDD in ZDD mode.)
Compare to bdd_true.
universe
in class BDDFactory
public BDDVarSet emptySet()
BDDFactory
Get an empty BDDVarSet.
Compare to bdd_true.
emptySet
in class BDDFactory
public void printTable(BDD b)
BDDFactory
Prints the node table entries used by a BDD.
Compare to bdd_printtable.
printTable
in class BDDFactory
public BDD zero()
BDDFactory
Get the constant false BDD.
Compare to bdd_false.
zero
in class BDDFactory
public void done()
BDDFactory
This function frees all memory used by the BDD package and resets the package to its uninitialized state. The BDD package is no longer usable after this call.
Compare to bdd_done.
done
in class BDDFactory
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public void deferredFree(int v)
public void handleDeferredFree()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |