E
- the type of MetricalEntry used in the M-Treepublic class Assignments<E extends MTreeEntry> extends Object
Modifier and Type | Field and Description |
---|---|
private List<DistanceEntry<E>> |
firstAssignments
The assignments to the first routing object.
|
private double |
firstCoveringRadius
The first covering radius.
|
private DBID |
id1
The id of the first routing object.
|
private DBID |
id2
The id of the second routing object.
|
private List<DistanceEntry<E>> |
secondAssignments
The assignments to the second routing object.
|
private double |
secondCoveringRadius
The second covering radius.
|
Constructor and Description |
---|
Assignments(DBID id1,
DBID id2,
double firstCoveringRadius,
double secondCoveringRadius,
List<DistanceEntry<E>> firstAssignments,
List<DistanceEntry<E>> secondAssignments)
Provides an assignment during a split of an MTree node.
|
Modifier and Type | Method and Description |
---|---|
List<DistanceEntry<E>> |
getFirstAssignments()
Returns the assignments to the first routing object.
|
double |
getFirstCoveringRadius()
Returns the first covering radius.
|
DBID |
getFirstRoutingObject()
Returns the id of the first routing object.
|
List<DistanceEntry<E>> |
getSecondAssignments()
Returns the assignments to the second routing object.
|
double |
getSecondCoveringRadius()
Returns the second covering radius.
|
DBID |
getSecondRoutingObject()
Returns the id of the second routing object.
|
private DBID id1
private DBID id2
private double firstCoveringRadius
private double secondCoveringRadius
private List<DistanceEntry<E extends MTreeEntry>> firstAssignments
private List<DistanceEntry<E extends MTreeEntry>> secondAssignments
public Assignments(DBID id1, DBID id2, double firstCoveringRadius, double secondCoveringRadius, List<DistanceEntry<E>> firstAssignments, List<DistanceEntry<E>> secondAssignments)
id1
- the first routing objectid2
- the second routing objectfirstCoveringRadius
- the first covering radiussecondCoveringRadius
- the second covering radiusfirstAssignments
- the assignments to the first routing objectsecondAssignments
- the assignments to the second routing objectpublic DBID getFirstRoutingObject()
public DBID getSecondRoutingObject()
public double getFirstCoveringRadius()
public double getSecondCoveringRadius()
public List<DistanceEntry<E>> getFirstAssignments()
public List<DistanceEntry<E>> getSecondAssignments()