edu.ucla.belief.rc2.structure
Class RC2NodeLeafEvidInd
Object
RC2Node
RC2NodeLeafEvidInd
- All Implemented Interfaces:
- Comparable
public class RC2NodeLeafEvidInd
- extends RC2Node
This class represents Leaf RCNode objects which are evidence indicators..
- Author:
- David Allen
RC2NodeLeafEvidInd
public RC2NodeLeafEvidInd(int id,
RC2 rc,
FiniteVariable fv)
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