|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectunbbayes.controller.SENController
public class SENController
| Nested Class Summary | |
|---|---|
static class |
SENController.InferenceAlgorithmEnum
|
| Field Summary | |
|---|---|
protected GaussianMixture |
gmInference
|
| Constructor Summary | |
|---|---|
SENController(SingleEntityNetwork singleEntityNetwork,
NetworkWindow screen)
Constructs a controller for SingleEntityNetwork. |
|
| Method Summary | |
|---|---|
boolean |
compileNetwork()
Compiles the network. |
void |
createContinuousDistribution(ContinuousNode node)
Creates and shows the panel where the user can edit the continuous node normal distribution. |
void |
createDiscreteTable(Node node)
Creates and shows the panel where the user can edit the discrete node table. |
void |
deleteSelected(Object selecionado)
|
void |
deleteSelectedItem()
Delete the selected item of the graph (a node or a edge) |
IInferenceAlgorithm |
getInferenceAlgorithm()
|
void |
initialize()
Reset the beliefs for the prior probabilities. |
Node |
insertContinuousNode(double x,
double y)
Inserts the desired node inside the network creating default state, symbol and description |
Node |
insertDecisionNode(double x,
double y)
Inserts the desired node inside a network creating a default state, symbol and description. |
boolean |
insertEdge(Edge edge)
Links an edge connecting parents and children. |
Node |
insertProbabilisticNode(double x,
double y)
Inserts the desired node inside the network creating default state, symbol and description |
void |
insertState(Node node)
Inserts a new state for a selected node |
Node |
insertUtilityNode(double x,
double y)
Inserts the desired node inside a network creating a default state, symbol and description. |
JTable |
makeTable(Node node)
This method is responsible to represent the potential table as a JTable, including its table model. |
JTable |
makeTableOld(Node node)
Deprecated. |
void |
propagate()
Propagates the network's evidences. |
void |
removeState(Node node)
Deletes the last state of a selected node |
void |
setInferenceAlgorithm(IInferenceAlgorithm inferenceAlgorithm)
|
void |
showExplanationProperties(ProbabilisticNode node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GaussianMixture gmInference
| Constructor Detail |
|---|
public SENController(SingleEntityNetwork singleEntityNetwork,
NetworkWindow screen)
| Method Detail |
|---|
public IInferenceAlgorithm getInferenceAlgorithm()
public void setInferenceAlgorithm(IInferenceAlgorithm inferenceAlgorithm)
public void insertState(Node node)
node - The selected Object .- Since:
- See Also:
Objectpublic void removeState(Node node)
node - selected Object .- Since:
- See Also:
Objectpublic void initialize()
public void propagate()
public boolean compileNetwork()
JOptionPane .
JOptionPane
public Node insertContinuousNode(double x,
double y)
x - The x position.y - The y position.
public Node insertProbabilisticNode(double x,
double y)
x - The x position.y - The y position.
public Node insertDecisionNode(double x,
double y)
x - The x position.y - The y position.
public Node insertUtilityNode(double x,
double y)
x - The x position.y - The y position.public boolean insertEdge(Edge edge)
edge - An Edge representing a linking edgepublic void deleteSelectedItem()
public void createContinuousDistribution(ContinuousNode node)
node - The continuous node to create the distribution p`ane for.public void createDiscreteTable(Node node)
node - The discrete node to create the table pan for.public JTable makeTable(Node node)
no - The node to get its probabilistic table as JTable.
public JTable makeTableOld(Node node)
no - a Node representing a node which we wanto to see the tableNodepublic void deleteSelected(Object selecionado)
public void showExplanationProperties(ProbabilisticNode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||