public class DeltaValue
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
double |
delta
the cost derived from merging the two intervals (erase the boundary)
|
int |
index
index of the first element in the LEFT interval in the global sorted real values
|
java.util.ArrayList<java.lang.Double> |
leftInterval
the left interval in our boundary
|
DeltaValue |
next
pointer for the next bound of intervals
|
DeltaValue |
prev
item for the previous bound of intervals
|
java.util.ArrayList<java.lang.Double> |
rightInterval
the right interval in our boundary
|
Constructor and Description |
---|
DeltaValue() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Method from interface Comparable, so this object can be sorted in Java lists
|
public DeltaValue prev
public DeltaValue next
public java.util.ArrayList<java.lang.Double> leftInterval
public java.util.ArrayList<java.lang.Double> rightInterval
public double delta
public int index