edu.ucla.belief.recursiveconditioning
Class RCNode
Object
RCNode
- Direct Known Subclasses:
- RCNodeInternalBinaryCache, RCNodeLeaf
public abstract class RCNode
- extends Object
Field Summary |
boolean |
isRoot
|
int |
userDefinedInt
Used by DFBnB during allocate memory and by DecompositionStructureUtils during RC object creation. |
Constructor Summary |
RCNode(RC rc)
Warning: by using this constructor you must later call init. |
RCNode(RC rc,
long cutsetInstantiations,
long contextInstantiations)
|
userDefinedInt
public int userDefinedInt
- Used by DFBnB during allocate memory and by DecompositionStructureUtils during RC object creation.
isRoot
public boolean isRoot
RCNode
public RCNode(RC rc)
- Warning: by using this constructor you must later call init.
RCNode
public RCNode(RC rc,
long cutsetInstantiations,
long contextInstantiations)
initCacheOrder
public abstract void initCacheOrder(ArrayList eo)
parentNodes
public Set parentNodes()
isLeaf
public abstract boolean isLeaf()
cutsetInstantiations
public final long cutsetInstantiations()
contextInstantiations
public final long contextInstantiations()
allocRCCaches
public void allocRCCaches()
allocRCMPECaches
public void allocRCMPECaches()
allocRCMPE3Caches
public void allocRCMPE3Caches()
allocRCMPE4Caches
public void allocRCMPE4Caches()
toString
public String toString()
- Overrides:
toString
in class Object
resetLocal
public void resetLocal()
getCacheFactor
public double getCacheFactor()
changeCacheFactor
public void changeCacheFactor(double cf)
cache
public final RCNodeCache cache()
numCacheEntries_local_total
public long numCacheEntries_local_total()
numCacheEntriesMpe_local_total
public long numCacheEntriesMpe_local_total()
numCacheEntries_local_used
public long numCacheEntries_local_used()
numCacheEntriesMpe_local_used
public long numCacheEntriesMpe_local_used()
getHeight
public abstract int getHeight()
- This height is calculated by how many levels of nodes
there are, not by how many edges there are between them.
(e.g. leaf nodes have height of 1, their parents have
a height of 2...)
vars
public abstract Collection vars()
vars
public abstract Collection vars(Collection ret)
Copyright 2010 UCLA Automated Reasoning Group