public class ApproximateLeastOverlapInsertionStrategy extends Object implements InsertionStrategy
Modifier and Type | Class and Description |
---|---|
static class |
ApproximateLeastOverlapInsertionStrategy.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int |
insertionCandidates
Defines how many children are tested for finding the child generating the
least overlap when inserting an object.
|
Constructor and Description |
---|
ApproximateLeastOverlapInsertionStrategy(int insertionCandidates)
Constructor. s
|
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.
|
private int insertionCandidates
public ApproximateLeastOverlapInsertionStrategy(int insertionCandidates)
insertionCandidates
- Number of children to test.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