edu.ucla.belief.recursiveconditioning
Class RCNode

Object
  extended by 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)
           
 
Method Summary
 void allocRCCaches()
           
 void allocRCMPE3Caches()
           
 void allocRCMPE4Caches()
           
 void allocRCMPECaches()
           
 RCNodeCache cache()
           
 void changeCacheFactor(double cf)
           
 long contextInstantiations()
           
 long cutsetInstantiations()
           
 double getCacheFactor()
           
abstract  int getHeight()
          This height is calculated by how many levels of nodes there are, not by how many edges there are between them.
abstract  void initCacheOrder(ArrayList eo)
           
abstract  boolean isLeaf()
           
 long numCacheEntries_local_total()
           
 long numCacheEntries_local_used()
           
 long numCacheEntriesMpe_local_total()
           
 long numCacheEntriesMpe_local_used()
           
 Set parentNodes()
           
 void resetLocal()
           
 String toString()
           
abstract  Collection vars()
           
abstract  Collection vars(Collection ret)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

userDefinedInt

public int userDefinedInt
Used by DFBnB during allocate memory and by DecompositionStructureUtils during RC object creation.


isRoot

public boolean isRoot
Constructor Detail

RCNode

public RCNode(RC rc)
Warning: by using this constructor you must later call init.


RCNode

public RCNode(RC rc,
              long cutsetInstantiations,
              long contextInstantiations)
Method Detail

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