|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KDTree
Interface for K-D-tree data structures.
Nested Class Summary | |
---|---|
static class |
KDTree.IntNode
K-D-tree node for discrete data (ZK space). |
Field Summary | |
---|---|
static java.lang.String |
CONSTRUCTION_MODE
Property name: construction mode (int). |
static int |
MODE_BREADTH_BALANCED
Construction mode: both splitted cells contain approx. equal number of samples. |
static int |
MODE_SPACE_BALANCED
Construction mode: both splitted cells have equal size. |
static java.lang.String |
USE_MEDIAN
Property name: use median plane? |
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
void |
buildTree()
Builds the K-D-tree using actual settings. |
KDTree.IntNode |
getIntRoot()
Returns actual root node. |
void |
setRoot(KDTree.IntNode r)
Tree is assigned from externally prepared data. |
void |
utilizeTree(KDTree.IntNode r)
Utilize (use) the given tree. |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Field Detail |
---|
static final java.lang.String CONSTRUCTION_MODE
static final int MODE_SPACE_BALANCED
static final int MODE_BREADTH_BALANCED
static final java.lang.String USE_MEDIAN
Method Detail |
---|
void buildTree()
CONSTRUCTION_MODE
,
USE_MEDIAN
KDTree.IntNode getIntRoot()
void setRoot(KDTree.IntNode r)
r
- The new root node.void utilizeTree(KDTree.IntNode r)
r
- The root node or null
if internal tree should be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |