
O - the type of DatabaseObject to be stored in the M-TreeD - the type of Distance used in the M-TreeN - the type of AbstractMTreeNode used in the M-TreeE - the type of MetricalEntry used in the M-Treepublic class MRadSplit<O,D extends Distance<D>,N extends AbstractMTreeNode<O,D,N,E>,E extends MTreeEntry<D>> extends MTreeSplit<O,D,N,E>
assignments| Constructor and Description |
|---|
MRadSplit(N node,
DistanceQuery<O,D> distanceFunction)
Creates a new split object.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
promote(N node,
DistanceQuery<O,D> distanceFunction)
Selects two objects of the specified node to be promoted and stored into
the parent node.
|
balancedPartition, getAssignmentspublic MRadSplit(N node, DistanceQuery<O,D> distanceFunction)
node - the node to be splitdistanceFunction - the distance functionprivate void promote(N node, DistanceQuery<O,D> distanceFunction)
node - the node to be splitdistanceFunction - the distance function