
D - the type of Distance used in the M-TreeE - the type of MetricalEntry used in the M-Treepublic class Assignments<D extends Distance<D>,E extends MTreeEntry<D>> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private List<E> | firstAssignmentsThe assignments to the first routing object. | 
| private D | firstCoveringRadiusThe first covering radius. | 
| private DBID | id1The id of the first routing object. | 
| private DBID | id2The id of the second routing object. | 
| private List<E> | secondAssignmentsThe assignments to the second routing object. | 
| private D | secondCoveringRadiusThe second covering radius. | 
| Constructor and Description | 
|---|
| Assignments(DBID id1,
           DBID id2,
           D firstCoveringRadius,
           D secondCoveringRadius,
           Set<E> firstAssignments,
           Set<E> secondAssignments)Provides an assignment during a split of an MTree node. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<E> | getFirstAssignments()Returns the assignments to the first routing object. | 
| D | getFirstCoveringRadius()Returns the first covering radius. | 
| DBID | getFirstRoutingObject()Returns the id of the first routing object. | 
| List<E> | getSecondAssignments()Returns the assignments to the second routing object. | 
| D | getSecondCoveringRadius()Returns the second covering radius. | 
| DBID | getSecondRoutingObject()Returns the id of the second routing object. | 
private DBID id1
private DBID id2
private List<E extends MTreeEntry<D>> firstAssignments
private List<E extends MTreeEntry<D>> secondAssignments
public Assignments(DBID id1, DBID id2, D firstCoveringRadius, D secondCoveringRadius, Set<E> firstAssignments, Set<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 D getFirstCoveringRadius()
public D getSecondCoveringRadius()
public List<E> getFirstAssignments()