public class LeastOverlapInsertionStrategy extends Object implements InsertionStrategy
Constructor and Description |
---|
LeastOverlapInsertionStrategy()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<N extends Node<E>,E extends SpatialEntry> |
findInsertChild(N node,
SpatialComparable mbr)
Returns the path information of the entry of the specified node which needs
least overlap enlargement if the given mbr would be inserted into.
|
public LeastOverlapInsertionStrategy()
public <N extends Node<E>,E extends SpatialEntry> TreeIndexPathComponent<E> findInsertChild(N node, SpatialComparable mbr)
findInsertChild
in interface InsertionStrategy
N
- Node typeE
- Entry typenode
- the node of which the children should be testedmbr
- the mbr to be inserted into the children