sbrt.kernel.math
Class IntervalComparer.Diff<V>

java.lang.Object
  extended by sbrt.kernel.math.IntervalComparer.Diff<V>
Type Parameters:
V - the variable type.
Enclosing class:
IntervalComparer

public static class IntervalComparer.Diff<V>
extends java.lang.Object

Instances of this class are used to hold a variable and a pair of corresponding intervals. The pair of intervals are considered to be non-equivalent, or different.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.

Method Summary
 Interval getInterval1()
          Returns the "first" interval of the pair of intervals.
 Interval getInterval2()
          Returns the "second" interval of the pair of intervals.
 V getVariable()
          Returns the variable for which the intervals correspond.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVariable

public V getVariable()
Returns the variable for which the intervals correspond.

Returns:
the variable for which the intervals correspond.

getInterval1

public Interval getInterval1()
Returns the "first" interval of the pair of intervals.

Returns:
the "first" interval of the pair of intervals.

getInterval2

public Interval getInterval2()
Returns the "second" interval of the pair of intervals.

Returns:
the "second" interval of the pair of intervals.