public class ZDDCSP extends ZDD2
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CACHE_NOSUPSET |
protected static int |
CACHE_RESTRICT |
protected OptimizedCache |
csp_cache |
unate_cachedead_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 |
|---|
ZDDCSP(int nodesize,
int cachesize) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
cleanup this ZDD, to release its memory and help GC
|
int |
exclude(int F,
int C)
Exclude(F,C), defined as "F - Restrict(F,C)"
|
long |
getMemoryUsage()
return the amount of internally allocated memory in bytes
|
static void |
internal_test()
testbench.
|
protected void |
post_removal_callbak()
this function is called when something in the node table is changed (GC or grow).
|
int |
restrict(int F,
int C) |
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 static final int CACHE_RESTRICT
protected static final int CACHE_NOSUPSET
protected OptimizedCache csp_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 ZDD2public final int restrict(int F,
int C)
public final int exclude(int F,
int C)
public void showStats()
ZDDpublic long getMemoryUsage()
ZDD2getMemoryUsage in class ZDD2public static void internal_test()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.