Package org.tinspin.index
Interface Index
-
- All Known Subinterfaces:
BoxMap<T>,BoxMultimap<T>,PointMap<T>,PointMultimap<T>
- All Known Implementing Classes:
CoverTree,KDTree,PHTreeMMP,PHTreeP,PHTreeR,PointArray,PointMapWrapper,PointMultimapWrapper,QuadTreeKD,QuadTreeKD0,QuadTreeKD2,QuadTreeRKD,QuadTreeRKD0,RectArray,RTree
public interface Index
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIndex.BEComparatorstatic classIndex.BoxEntry<T>A box entry.static classIndex.BoxEntryKnn<T>static interfaceIndex.BoxFilterKnn<T>static interfaceIndex.BoxIterator<T>static interfaceIndex.BoxIteratorKnn<T>static classIndex.PEComparatorstatic classIndex.PointEntry<T>static classIndex.PointEntryKnn<T>static interfaceIndex.PointFilterKnn<T>static interfaceIndex.PointIterator<T>static interfaceIndex.PointIteratorKnn<T>static interfaceIndex.QueryIterator<T>static interfaceIndex.QueryIteratorKnn<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
-
-