org.encog.ml.bayesian.table
public class TableLine extends Object implements Serializable
| Constructor and Description |
|---|
TableLine(double prob,
int result,
int[] args)
Construct a truth table line.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public TableLine(double prob,
int result,
int[] args)
prob - The probability.result - The result.args - The arguments.public double getProbability()
public int[] getArguments()
public int getResult()
public boolean compareArgs(int[] args)
args - The other arguments to compare to.public void setProbability(double probability)
probability - The probability of this line.Copyright © 2014. All Rights Reserved.