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

Method Summary
 void addListener(DecisionListener listener)
           
 Object clone()
           
 DecisionNode deepClone(Factory factory)
           
 void deracinate()
           
 int equivalenceHashCode()
           
 boolean equivales(DecisionNode node)
           
 Set getAncestors(Set container, Classifier classifier)
           
 Set getChildDecisionNodes()
           
 Set getDescendants(Set container, Classifier classifier)
           
 Set getLeaves(Set container)
           
 DecisionNode getNext(int index)
           
 DecisionNode getNext(Object value)
           
 Set getOutcomes(Set container)
           
 Parameter getParameter(int index)
           
 Parameter getParameter(Object value)
           
 Set getParents()
           
 FiniteVariable getVariable()
           
 Map groupInstancesByOutcome(Map map)
           
 boolean hasOutcome(Object outcome)
           
 boolean insertParent(FiniteVariable var, DecisionNode oldParent, Factory factory)
           
 boolean isDeeplyEquivalent(DecisionNode node, double epsilon, Map checked)
           
 boolean isDescendant(DecisionNode node)
           
 boolean isEditable()
           
 boolean isLeaf()
           
 int numOutcomes()
           
 boolean removeChild(DecisionNode child)
           
 boolean removeListener(DecisionListener listener)
           
 void setEditable(boolean flag)
           
 void setID(String id)
           
 void setNext(int index, DecisionNode next)
           
 void setNext(Object value, DecisionNode next)
           
 

Method Detail

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