|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.split.Assignments<D,E>
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>>
Encapsulates the attributes of an assignment during a split.
Field Summary | |
---|---|
private List<E> |
firstAssignments
The assignments to the first routing object. |
private D |
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<E> |
secondAssignments
The assignments to the second routing object. |
private D |
secondCoveringRadius
The second covering radius. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DBID id1
private DBID id2
private D extends Distance<D> firstCoveringRadius
private D extends Distance<D> secondCoveringRadius
private List<E extends MTreeEntry<D>> firstAssignments
private List<E extends MTreeEntry<D>> secondAssignments
Constructor Detail |
---|
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 objectMethod Detail |
---|
public DBID getFirstRoutingObject()
public DBID getSecondRoutingObject()
public D getFirstCoveringRadius()
public D getSecondCoveringRadius()
public List<E> getFirstAssignments()
public List<E> getSecondAssignments()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |