edu.ucla.belief.decision
Interface DecisionNode
- All Superinterfaces:
- Cloneable
- All Known Implementing Classes:
- DecisionInternal, DecisionLeaf, DecisionNodeAbstract
public interface DecisionNode
- extends Cloneable
- Since:
- 120804
- Author:
- Keith Cascio
clone
Object clone()
deepClone
DecisionNode deepClone(Factory factory)
isLeaf
boolean isLeaf()
getParents
Set getParents()
deracinate
void deracinate()
getNext
DecisionNode getNext(int index)
throws StateNotFoundException
- Throws:
StateNotFoundException
getNext
DecisionNode getNext(Object value)
throws StateNotFoundException
- Throws:
StateNotFoundException
setNext
void setNext(int index,
DecisionNode next)
throws StateNotFoundException
- Throws:
StateNotFoundException
setNext
void setNext(Object value,
DecisionNode next)
throws StateNotFoundException
- Throws:
StateNotFoundException
removeChild
boolean removeChild(DecisionNode child)
getParameter
Parameter getParameter(int index)
getParameter
Parameter getParameter(Object value)
throws StateNotFoundException
- Throws:
StateNotFoundException
getChildDecisionNodes
Set getChildDecisionNodes()
getOutcomes
Set getOutcomes(Set container)
numOutcomes
int numOutcomes()
groupInstancesByOutcome
Map groupInstancesByOutcome(Map map)
hasOutcome
boolean hasOutcome(Object outcome)
getVariable
FiniteVariable getVariable()
insertParent
boolean insertParent(FiniteVariable var,
DecisionNode oldParent,
Factory factory)
getLeaves
Set getLeaves(Set container)
getAncestors
Set getAncestors(Set container,
Classifier classifier)
getDescendants
Set getDescendants(Set container,
Classifier classifier)
isDescendant
boolean isDescendant(DecisionNode node)
setID
void setID(String id)
isEditable
boolean isEditable()
setEditable
void setEditable(boolean flag)
addListener
void addListener(DecisionListener listener)
removeListener
boolean removeListener(DecisionListener listener)
equivales
boolean equivales(DecisionNode node)
equivalenceHashCode
int equivalenceHashCode()
isDeeplyEquivalent
boolean isDeeplyEquivalent(DecisionNode node,
double epsilon,
Map checked)
Copyright 2010 UCLA Automated Reasoning Group