fr.jussieu.gla.wasa.core
Class ErrorTable
java.lang.Object
|
+--fr.jussieu.gla.wasa.core.ErrorTable
- public class ErrorTable
- extends java.lang.Object
Used internally by Algorithm
for associating errors
(as float[]) with variables.
Allows to retrieve an array of Vars, sorted on their
errors.
- Version:
- $Revision: 1.4 $ $Date: 2002/04/05 18:56:16 $
- Author:
- Laurent Caillette, Florent Selva
Inner Class Summary |
class |
ErrorTable.VarEntry
A simple structure hosting a Var and its associated errors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorTable
public ErrorTable(Problem problem)
put
public void put(Var var,
float[] errors)
getErrors
public float[] getErrors(Var var)
clear
public void clear()
getVarsSortedByErrorMix
public Var[] getVarsSortedByErrorMix()
computeOverallError
public double computeOverallError()
countAffectedVars
public int countAffectedVars()
replicate
public ErrorTable replicate()