|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.utilities.proc.VectorComparison<V>
V
- the variable type.public class VectorComparison<V>
This class is used to compare numerical vectors.
Constructor Summary | |
---|---|
VectorComparison()
Constructs a new numerical vector comparison process. |
Method Summary | |
---|---|
ProgressMonitor |
getProgress()
Returns a progress monitor for this process. |
double |
getTolerance()
Returns the equivalence tolerance. |
void |
run(ResultsManager<java.util.Map<V,java.lang.Double>> resultsManager)
Adds to the provided results manager the variables (keys) whose intervals (values) are unequal within the provided tolerance. |
void |
setTolerance(double tolerance)
Sets the equivalence tolerance. |
void |
setVectorSource(java.lang.Iterable<java.util.Map<V,java.lang.Double>> source)
Sets of the source of numerical vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VectorComparison()
Method Detail |
---|
public void setTolerance(double tolerance)
tolerance
- the amount by which two numerical values can
differ but still be considered equivalent.public double getTolerance()
public void setVectorSource(java.lang.Iterable<java.util.Map<V,java.lang.Double>> source)
source
- a numerical vector source.public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<java.util.Map<V,java.lang.Double>>
public void run(ResultsManager<java.util.Map<V,java.lang.Double>> resultsManager)
run
in interface KernelProcess<java.util.Map<V,java.lang.Double>>
resultsManager
- the results manager to sets of variables are added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |