public class ZDDGraph extends ZDD
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CACHE_NOSUBSET |
protected static int |
CACHE_NOSUPSET |
protected OptimizedCache |
graph_cache |
dead_nodes, ht_chain, mark_stack, NODE_MARK, NODE_UNMARK, nodesminfree, stat_gc_count, stat_gc_freed, stat_gc_time, stat_grow_time, stat_lookup_count, stat_notify_time, stat_nt_grow, table_size, work_stack, work_stack_tos| Constructor and Description |
|---|
ZDDGraph(int nodesize,
int cachesize) |
| Modifier and Type | Method and Description |
|---|---|
int |
allEdge()
all pairs, that is, all possible edges in a fully connected graph.
|
int |
allEdge(int from,
int to) |
void |
cleanup()
cleanup this ZDD, to release its memory and help GC
|
static void |
internal_test()
testbench.
|
int |
MaxDot(int X,
int Y)
MaxDot(X,Y) = { x \cup y | x \in x, y \in y }.
|
int |
maxSet(int X)
MaxSet(X) = { x \in X | \forall x' \in X.
|
int |
noSubset(int F,
int C)
noSubset(F, C) = {f \in F | \lnot \exist c \in C.
|
int |
noSupset(int F,
int C)
noSupset is used to compute exclude.
|
protected void |
post_removal_callbak()
this function is called when something in the node table is changed (GC or grow).
|
addDebugger, base, change, count, createVar, cube, cube, cube, cubes_intersect, cubes_union, diff, diffTo, empty, emptyIn, follow_high, follow_low, getMemoryUsage, intersect, mk, nodeCount, print, printCubes, printDot, printSet, satOne, setNodeNames, showStats, single, subset0, subset1, subsets, union, unionTo, universeadd, check_all_nodes, check_node, countRootNodes, deref, enableStackMarking, gc, getHigh, getLow, getRef, getVar, getVarUnmasked, grow, invalidate, isNodeMarked, isValid, mark_node, mark_tree, match_table, ref, saturate, setAll, setAll, show_table_all, show_table, show_tuple, signal_removed, tree_depth_changed, unmark_node, unmark_tree, update_grow_parametersprotected static final int CACHE_NOSUBSET
protected static final int CACHE_NOSUPSET
protected OptimizedCache graph_cache
public void cleanup()
ZDDprotected void post_removal_callbak()
NodeTablesub-classes must "implement" this function for, for example, flushing caches since it signals that something important has been changed and old data might have become invalid.
post_removal_callbak in class ZDDpublic int allEdge()
public int allEdge(int from,
int to)
public final int noSubset(int F,
int C)
public int noSupset(int F,
int C)
public int maxSet(int X)
public int MaxDot(int X,
int Y)
public static void internal_test()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.