
public interface InsertionStrategy extends Parameterizable
| Modifier and Type | Method and Description |
|---|---|
<A> int |
choose(A options,
ArrayAdapter<? extends SpatialComparable,A> getter,
SpatialComparable obj,
int height,
int depth)
Choose insertion rectangle.
|
<A> int choose(A options,
ArrayAdapter<? extends SpatialComparable,A> getter,
SpatialComparable obj,
int height,
int depth)
options - Options to choose fromgetter - Array adapter for optionsobj - Insertion objectheight - Tree heightdepth - Insertion depth (depth == height - 1 indicates leaf level)