edu.ucla.belief.rc2.structure
Class RC2NodeInternal

Object
  extended by RC2Node
      extended by RC2NodeInternal
All Implemented Interfaces:
Comparable

public class RC2NodeInternal
extends RC2Node

This class represents Internal RCNode objects.

Author:
David Allen

Field Summary
 RC2Node left
           
 RC2Node right
           
 
Fields inherited from class RC2Node
height, nodeID, rc, vars
 
Constructor Summary
RC2NodeInternal(int id, RC2 rc, RC2Node c1, RC2Node c2, Map minVal)
           
 
Method Summary
 int actualMemoryAllocated()
           
 Collection getCutsetVars(Collection ret)
           
 void initialize(Collection acutset)
          Called to initialize the nodes.
 boolean isLeaf()
           
 long numCutsetInstantiations()
           
 String toString()
           
 
Methods inherited from class RC2Node
compareTo, context, hashCode, isRoot, numParentNodes, parentNodes
 
Methods inherited from class Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

left

public final RC2Node left

right

public final RC2Node right
Constructor Detail

RC2NodeInternal

public RC2NodeInternal(int id,
                       RC2 rc,
                       RC2Node c1,
                       RC2Node c2,
                       Map minVal)
Method Detail

initialize

public void initialize(Collection acutset)
Description copied from class: RC2Node
Called to initialize the nodes. Implementations of this funciton should make a call to initializeNode.

Specified by:
initialize in class RC2Node

toString

public String toString()
Overrides:
toString in class RC2Node

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in class RC2Node

numCutsetInstantiations

public long numCutsetInstantiations()

getCutsetVars

public Collection getCutsetVars(Collection ret)

actualMemoryAllocated

public int actualMemoryAllocated()


Copyright 2010 UCLA Automated Reasoning Group