|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.utilities.proc.IntervalComparison<V>
V
- the variable type.public class IntervalComparison<V>
This class is used to compare vectors of intervals.
Constructor Summary | |
---|---|
IntervalComparison()
Constructs a new interval 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.Set<IntervalComparer.Diff<V>>> resultsManager)
Adds to the provided results manager the variables (keys) whose intervals (values) are not considered equivalent. |
void |
setIntervalSources(java.lang.Iterable<java.util.Map<V,Interval>> source1,
java.lang.Iterable<java.util.Map<V,Interval>> source2)
Sets of the sources of interval vectors. |
void |
setTolerance(double tolerance)
Sets the equivalence tolerance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalComparison()
Method Detail |
---|
public void setTolerance(double tolerance)
tolerance
- the amount by which a bound of two intervals can
differ but still be considered equivalent.public double getTolerance()
public void setIntervalSources(java.lang.Iterable<java.util.Map<V,Interval>> source1, java.lang.Iterable<java.util.Map<V,Interval>> source2)
source1
- an interval vector source.source2
- an interval vector source.public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<java.util.Set<IntervalComparer.Diff<V>>>
public void run(ResultsManager<java.util.Set<IntervalComparer.Diff<V>>> resultsManager)
run
in interface KernelProcess<java.util.Set<IntervalComparer.Diff<V>>>
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 |