edu.ucla.belief.rc2.structure
Class RC2NodeLeaf
Object
RC2Node
RC2NodeLeaf
- All Implemented Interfaces:
- Comparable
public class RC2NodeLeaf
- extends RC2Node
This class represents Leaf RCNode objects.
- Author:
- David Allen
RC2NodeLeaf
public RC2NodeLeaf(int id,
RC2 rc,
FiniteVariable fv,
Map minVal)
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
observe
public void observe(int varIndx,
int value)
unobserve
public void unobserve(int varIndx)
unobserveAll
public void unobserveAll()
setCPT
public void setCPT(int varIndx)
getFVIndx
public int getFVIndx()
getLeafVar
public FiniteVariable getLeafVar()
Copyright 2010 UCLA Automated Reasoning Group