Package org.tinspin.index
Interface Index<T>
-
- All Known Subinterfaces:
PointIndex<T>,PointIndexMM<T>,RectangleIndex<T>,RectangleIndexMM<T>
- All Known Implementing Classes:
CoverTree,KDTree,PHTreeMMP,PHTreeP,PHTreeR,PointArray,PointIndexMMWrapper,PointIndexWrapper,QuadTreeKD,QuadTreeKD0,QuadTreeKD2,QuadTreeRKD,QuadTreeRKD0,RectArray,RTree
public interface Index<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clear all entries.intgetDepth()intgetDims()intgetNodeCount()StatsgetStats()intsize()StringtoStringTree()
-
-
-
Method Detail
-
getDims
int getDims()
- Returns:
- the number of dimensions
-
size
int size()
- Returns:
- the number of entries
-
clear
void clear()
Clear all entries.
-
getStats
Stats getStats()
- Returns:
- Collect and return some index statistics. Note that indexes are not required to fill all fields. Also, individual indexes may use subclasses with additional fields.
-
getNodeCount
int getNodeCount()
-
getDepth
int getDepth()
-
toStringTree
String toStringTree()
- Returns:
- a full string output of the tree structure with all entries
-
-