|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectunbbayes.prs.Node
unbbayes.prs.id.UtilityNode
public class UtilityNode
This class represents the utility node.
| 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.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 | |
|---|---|
UtilityNode()
Constructs a UtilityNode with an initialized table and an incremented DrawElement. |
|
| Method Summary | |
|---|---|
void |
appendState(String state)
NÔøΩo faz nada ao se tentar inserir um estado, pois variÔøΩveis de utilidade sÔøΩ aceitam 1 estado. |
PotentialTable |
getProbabilityFunction()
Gets the tabelaPot attribute of the TVU object |
static Color |
getStaticColor()
Get the node's color. |
int |
getType()
Method to extract node's type. |
void |
removeLastState()
NÔøΩo faz nada ao se tentar inserir um estado, pois variÔøΩveis de utilidade sÔøΩ aceitam 1 estado. |
static void |
setStaticColor(int rgb)
Set the node's color. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UtilityNode()
| Method Detail |
|---|
public int getType()
INode
getType in interface INodepublic void appendState(String state)
appendState in interface INodeappendState in class Nodestate - Name of the state to be added.public void removeLastState()
removeLastState in interface INoderemoveLastState in class Nodepublic PotentialTable getProbabilityFunction()
getProbabilityFunction in interface IRandomVariablepublic static Color getStaticColor()
public static void setStaticColor(int rgb)
rgb - The node's RGB color.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||