public class SDDTrees
extends java.lang.Object
| Constructor and Description |
|---|
SDDTrees() |
| Modifier and Type | Method and Description |
|---|---|
static SDDTree |
and(SDDTree tr1,
SDDTree tr2,
SDDMemory mem)
Computes the conjunction of the two specified SDD trees.
|
static SDDTree |
ban_and(SDDTree tr1,
SDDTree tr2,
SDDMemory mem)
Computes the conjunction of the two specified SDD trees.
|
static SDDTree |
ban_exists(SDDTree sdd,
Variable var,
SDDMemory mem,
VtreePath path)
Computes the result of the exists operation on the specified sdd
for the specified variable.
|
static SDDTree |
ban_forall(SDDTree sdd,
Variable var,
SDDMemory mem,
VtreePath path)
Computes the result of the forall operation on the specified sdd
for the specified variable.
|
static SDDTree |
ban_not(SDDTree sdd,
SDDMemory mem)
Computes the negation of the specified SDD tree.
|
static SDDTree |
ban_or(SDDTree tr1,
SDDTree tr2,
SDDMemory mem)
Computes the disjunction of the two specified SDD trees.
|
static SDDTree |
buildSimpleSDDNode(SDDTree prime,
SDDTree sub,
SDDMemory mem) |
static int |
compare(SDDTree t1,
SDDTree t2)
Gives a total order on the SDD tree.
|
static SDDTree |
exists(SDDTree sdd,
Variable var,
SDDMemory mem,
VtreePath path)
Computes the result of the exists operation on the specified sdd
for the specified variable.
|
static SDDTree |
forall(SDDTree sdd,
Variable var,
SDDMemory mem,
VtreePath path)
Computes the result of the forall operation on the specified sdd
for the specified variable.
|
static SDDTree |
not(SDDTree sdd,
SDDMemory mem)
Computes the negation of the specified SDD tree.
|
static SDDTree |
or(SDDTree tr1,
SDDTree tr2,
SDDMemory mem)
Computes the disjunction of the two specified SDD trees.
|
public static SDDTree and(SDDTree tr1, SDDTree tr2, SDDMemory mem)
tr1 - the first SDD tree.tr2 - the second SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree ban_and(SDDTree tr1, SDDTree tr2, SDDMemory mem)
tr1 - the first SDD tree.tr2 - the second SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree or(SDDTree tr1, SDDTree tr2, SDDMemory mem)
tr1 - the first SDD tree.tr2 - the second SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree ban_or(SDDTree tr1, SDDTree tr2, SDDMemory mem)
tr1 - the first SDD tree.tr2 - the second SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree not(SDDTree sdd, SDDMemory mem)
sdd - the SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree ban_not(SDDTree sdd, SDDMemory mem)
sdd - the SDD tree.mem - the SDD memory used to record already computed objects.public static SDDTree exists(SDDTree sdd, Variable var, SDDMemory mem, VtreePath path)
sdd - the SDD tree.var - the variable for which the existentiality is computed.mem - the SDD memory used to record already computed objects.path - the path from the root of the vtree to the variable.public static SDDTree ban_exists(SDDTree sdd, Variable var, SDDMemory mem, VtreePath path)
sdd - the SDD tree.var - the variable for which the existentiality is computed.mem - the SDD memory used to record already computed objects.path - the path from the root of the vtree to the variable.public static SDDTree forall(SDDTree sdd, Variable var, SDDMemory mem, VtreePath path)
sdd - the SDD tree.var - the variable for which the forall is computed.mem - the SDD memory used to record already computed objects.path - the path from the root of the vtree to the variable.public static SDDTree ban_forall(SDDTree sdd, Variable var, SDDMemory mem, VtreePath path)
sdd - the SDD tree.var - the variable for which the forall is computed.mem - the SDD memory used to record already computed objects.path - the path from the root of the vtree to the variable.public static SDDTree buildSimpleSDDNode(SDDTree prime, SDDTree sub, SDDMemory mem)