unbbayes.prs.hybridbn
Class ContinuousNode

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

public class ContinuousNode
extends TreeVariable
implements Serializable

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
static int MEAN_MARGINAL_INDEX
           
static int VARIANCE_MARGINAL_INDEX
           
 
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
ContinuousNode()
           
 
Method Summary
 void addChild(Node child)
           
 void addParent(Node parent)
           
 CNNormalDistribution getCnNormalDistribution()
           
static Color getStaticColor()
           
 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.
 void removeChild(Node child)
           
 void removeParent(Node parent)
           
 
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
addChildNode, addExplanationPhrase, addNodeNameChangedListener, 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, removeChildNode, removeLastState, removeNodeNameChangedListener, 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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MEAN_MARGINAL_INDEX

public static final int MEAN_MARGINAL_INDEX
See Also:
Constant Field Values

VARIANCE_MARGINAL_INDEX

public static final int VARIANCE_MARGINAL_INDEX
See Also:
Constant Field Values
Constructor Detail

ContinuousNode

public ContinuousNode()
Method Detail

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()

getCnNormalDistribution

public CNNormalDistribution getCnNormalDistribution()

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

addParent

public void addParent(Node parent)
               throws InvalidParentException
Overrides:
addParent in class Node
Throws:
InvalidParentException

removeParent

public void removeParent(Node parent)
Overrides:
removeParent in class Node

addChild

public void addChild(Node child)
              throws InvalidParentException
Overrides:
addChild in class Node
Throws:
InvalidParentException

removeChild

public void removeChild(Node child)
Overrides:
removeChild in class Node


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