|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.bayesian.table.TableLine
public class TableLine
A line from a Bayesian truth table.
| Constructor Summary | |
|---|---|
TableLine(double prob,
int result,
int[] args)
Construct a truth table line. |
|
| Method Summary | |
|---|---|
boolean |
compareArgs(int[] args)
Compare this truth line's arguments to others. |
int[] |
getArguments()
|
double |
getProbability()
|
int |
getResult()
|
void |
setProbability(double probability)
Set the probability of this line. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TableLine(double prob,
int result,
int[] args)
prob - The probability.result - The result.args - The arguments.| Method Detail |
|---|
public double getProbability()
public int[] getArguments()
public int getResult()
public String toString()
toString in class Objectpublic boolean compareArgs(int[] args)
args - The other arguments to compare to.
public void setProbability(double probability)
probability - The probability of this line.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||