unbbayes.prs.id
Class DecisionNode

java.lang.Object
  extended by unbbayes.prs.Node
      extended by unbbayes.prs.bn.TreeVariable
          extended by unbbayes.prs.id.DecisionNode
All Implemented Interfaces:
Serializable, Comparable<Node>, INode

public class DecisionNode
extends TreeVariable
implements Serializable

Variavel de decisao

Author:
Michael e Rommel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class unbbayes.prs.Node
Node.NodeNameChangedEvent, Node.NodeNameChangedListener, Node.SetList<E>
 
Field Summary
 
Fields inherited from class unbbayes.prs.bn.TreeVariable
cliqueAssociado, marginalList
 
Fields inherited from class unbbayes.prs.Node
backColor, CONTINUOUS_NODE_TYPE, DECISION_NODE_TYPE, DEFAULT_SIZE, DESCRIPTION_TYPE, DISPLAY_MODE_BAR, DISPLAY_MODE_ELLIPSE, EXPLANATION_TYPE, infoestados, label, mean, name, nodeNameChangedListenerList, parents, position, PROBABILISTIC_NODE_TYPE, size, sizeIsVariable, sizeVariable, standardDeviation, states, UTILITY_NODE_TYPE
 
Constructor Summary
DecisionNode()
          Constructs a DecisionNode with an incremented DrawElement.
 
Method Summary
 Object clone()
           
static Color getStaticColor()
          Get the node's color.
 int getType()
          Method to extract node's type.
protected  void marginal()
          Tem que ser sobrescrito para atualizar as marginais que serÔøΩo visualizadas na ÔøΩrvore da interface.
static void setStaticColor(int rgb)
          Set the node's color.
 
Methods inherited from class unbbayes.prs.bn.TreeVariable
addFinding, addLikeliHood, getAssociatedClique, getEvidence, getMarginalAt, hasEvidence, initMarginalList, IsMarginalList, setAssociatedClique, updateEvidences
 
Methods inherited from class unbbayes.prs.Node
addChild, addChildNode, addExplanationPhrase, addNodeNameChangedListener, addParent, addParentNode, appendState, atualizatamanhoinfoestados, clearAdjacents, compareTo, equals, getAdjacentNodes, getAdjacents, getChildNodes, getChildren, getColor, getDefaultHeight, getDefaultSize, getDefaultWidth, getDescription, getDisplayMode, getExplanationDescription, getExplanationPhrase, getHeight, getInformationType, getLabel, getMean, getName, getParentNodes, getParents, getPhrasesMap, getPosition, getSize, getStandardDeviation, getStateAt, getStatesSize, getWidth, hasState, isChildOf, isParentOf, isPointInDrawableArea, isSelected, makeAdjacents, nameChanged, removeChild, removeChildNode, removeLastState, removeNodeNameChangedListener, removeParent, removeParentNode, removeStateAt, setAdjacents, setChildNodes, setChildren, setColor, setDescription, setDisplayMode, setExplanationDescription, setInformationType, setLabel, setMean, setName, setParentNodes, setParents, setPhrasesMap, setPosition, setSelected, setSize, setSizeIsVariable, setSizeVariable, setStandardDeviation, setStateAt, setStates, toString, updateLabel
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecisionNode

public DecisionNode()
Constructs a DecisionNode with an incremented DrawElement.

Method Detail

clone

public Object clone()
Overrides:
clone in class Object

getType

public int getType()
Description copied from interface: INode
Method to extract node's type. It is free to use any value as any meaning.

Specified by:
getType in interface INode
Returns:

getStaticColor

public static Color getStaticColor()
Get the node's color.

Returns:
The node's color.

setStaticColor

public static void setStaticColor(int rgb)
Set the node's color.

Parameters:
rgb - The node's RGB color.

marginal

protected void marginal()
Description copied from class: TreeVariable
Tem que ser sobrescrito para atualizar as marginais que serÔøΩo visualizadas na ÔøΩrvore da interface.

Specified by:
marginal in class TreeVariable


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.