| Modifier and Type | Field and Description |
|---|---|
protected OptimizedCache |
unate_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 |
|---|
ZDD2(int nodesize) |
ZDD2(int nodesize,
int cachesize) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
cleanup this ZDD, to release its memory and help GC
|
int |
div(int p,
int q)
if q contains a single literal, this equals subset1(p, getVar(q))
|
long |
getMemoryUsage()
return the amount of internally allocated memory in bytes
|
static void |
internal_test()
testbench.
|
int |
mod(int p,
int q)
if q contains a single literal, this equals subset0(p, getVar(q))
|
int |
mul(int p,
int q) |
protected void |
post_removal_callbak()
this function is called when something in the node table is changed (GC or grow).
|
void |
showStats()
show ZDD statistics
|
addDebugger, base, change, count, createVar, cube, cube, cube, cubes_intersect, cubes_union, diff, diffTo, empty, emptyIn, follow_high, follow_low, intersect, mk, nodeCount, print, printCubes, printDot, printSet, satOne, setNodeNames, 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 OptimizedCache unate_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 final int mul(int p,
int q)
public final int div(int p,
int q)
public final int mod(int p,
int q)
public void showStats()
ZDDpublic long getMemoryUsage()
getMemoryUsage in class ZDDpublic static void internal_test()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.