core
Class Bayes
java.lang.Object
core.Identifier
core.Bayes
public final class Bayes
- extends Identifier
Identification identax.core extension using Bayesian Probabilities.
It allows both single-step or step-by-step run.
- Version:
- 1.0
- Author:
- Oscar Flores
|
Method Summary |
void |
run(int idTest,
int result)
This method update the current identification state with the supplied result
for the test |
| Methods inherited from class core.Identifier |
getBestTaxaIndex, getBestTestIndex, getBestTestIndex, getBestTestIndex, getBestTestIndex, getTaxaIndex, getTestIndex, getTestIndex, getTestIndex, getTestIndex, isSeparator, normTaxaProb |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bayes
public Bayes(Context con,
Matrix mat,
Configuration cnf)
- Default constructor for a none done test workspace
- Parameters:
con - Context of the executionmat - Reference matrixcnf - Configuration
Bayes
public Bayes(Context con,
Matrix mat,
Configuration cnf,
int[] test_resu)
throws CoreException
- Constructs the Identifier and runs it with a single-step for all the
non-missed test results supplied in the array
- Parameters:
con - Context of the executionmat - Reference matrixcnf - Configurationtest_resu - Array with the test results
- Throws:
CoreException
run
public void run(int idTest,
int result)
throws CoreException
- This method update the current identification state with the supplied result
for the test
- Parameters:
idTest - Key of the realized testresult - Result of the test
- Throws:
CoreException