|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.IntervalComparer
public class IntervalComparer
This class is used to compare vectors of intervals.
Nested Class Summary | |
---|---|
static class |
IntervalComparer.Diff<V>
Instances of this class are used to hold a variable and a pair of corresponding intervals. |
Constructor Summary | |
---|---|
IntervalComparer()
|
Method Summary | ||
---|---|---|
|
getDiffs(java.util.Map<? extends V,Interval> m1,
java.util.Map<? extends V,Interval> m2,
double tolerance)
Returns the set of differences between the provided interval vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalComparer()
Method Detail |
---|
public <V> java.util.Set<IntervalComparer.Diff<V>> getDiffs(java.util.Map<? extends V,Interval> m1, java.util.Map<? extends V,Interval> m2, double tolerance)
V
- the variable type.m1
- variables mapped to intervals.m2
- variables mapped to intervals.tolerance
- the amount by which a bound of two intervals can differ
but still be considered equivalent.
IntervalEquiv.areEquiv(Interval, Interval)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |