org.encog.ml.bayesian.parse
public class ParsedProbability extends Object
| Constructor and Description |
|---|
ParsedProbability() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBaseEvent(ParsedEvent event)
Add a base event.
|
void |
addGivenEvent(ParsedEvent event) |
void |
defineRelationships(BayesianNetwork network)
Define the relationships.
|
void |
defineTruthTable(BayesianNetwork network,
double result)
Define the truth table.
|
int[] |
getArgs(BayesianNetwork network)
Get the arguments to this event.
|
List<ParsedEvent> |
getBaseEvents() |
ParsedEvent |
getChildEvent() |
List<ParsedEvent> |
getGivenEvents() |
String |
toString() |
public void addGivenEvent(ParsedEvent event)
public void addBaseEvent(ParsedEvent event)
event - The base event to add.public int[] getArgs(BayesianNetwork network)
network - The network.public ParsedEvent getChildEvent()
public void defineTruthTable(BayesianNetwork network, double result)
network - The bayesian network.result - The resulting probability.public List<ParsedEvent> getBaseEvents()
public List<ParsedEvent> getGivenEvents()
public void defineRelationships(BayesianNetwork network)
network - The network.Copyright © 2014. All Rights Reserved.