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

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

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

Instances of this class are used to hold a variable and a pair of corresponding numerical values.

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

Method Summary
 java.lang.Double getValue1()
          Returns the "first" value of the pair of values.
 java.lang.Double getValue2()
          Returns the "second" value of the pair of values.
 V getVariable()
          Returns the variable for which the numerical values 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 numerical values correspond.

Returns:
the variable for which the numerical values correspond.

getValue1

public java.lang.Double getValue1()
Returns the "first" value of the pair of values.

Returns:
the "first" value of the pair of values.

getValue2

public java.lang.Double getValue2()
Returns the "second" value of the pair of values.

Returns:
the "second" value of the pair of values.