E
- Entry typepublic class Enlargement<E extends SpatialEntry> extends Object implements Comparable<Enlargement<E>>
Modifier and Type | Field and Description |
---|---|
private double |
overlapInc
The increment of the overlap.
|
private TreeIndexPathComponent<E> |
pathComponent
The path information of the entry representing the node.
|
private double |
volInc
The increment of the volume.
|
private double |
volume
The volume of the node's MBR.
|
Constructor and Description |
---|
Enlargement(TreeIndexPathComponent<E> pathComponent,
double volume,
double volInc,
double overlapInc)
Creates an new Enlargement object with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Enlargement<E> other)
Compares this Enlargement with the specified Enlargement.
|
TreeIndexPathComponent<E> |
getPathComponent()
Returns the path information of the entry representing the node.
|
private TreeIndexPathComponent<E extends SpatialEntry> pathComponent
private double volume
private double volInc
private double overlapInc
public Enlargement(TreeIndexPathComponent<E> pathComponent, double volume, double volInc, double overlapInc)
pathComponent
- the path information of the entry representing the
nodevolume
- the volume of the node's MBRvolInc
- the increment of the volumeoverlapInc
- the increment of the overlappublic int compareTo(Enlargement<E> other)
compareTo
in interface Comparable<Enlargement<E extends SpatialEntry>>
other
- the Enlargement to be compared.public TreeIndexPathComponent<E> getPathComponent()