|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuadTree
Interface for Quad-tree data structure.
Nested Class Summary | |
---|---|
static interface |
QuadTree.Inspector
Quad-tree inspector object. |
static class |
QuadTree.Node
Quad-tree node. |
Field Summary |
---|
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
void |
finish()
Finishes the Quad-tree construction (build-phase). |
int |
getHeight()
The Quad-tree region's height. |
int |
getWidth()
The Quad-tree region's width. |
void |
init(int _width,
int _height)
Initializes the Quad-tree. |
QuadTree.Inspector |
inspector()
The Quad-tree's inspector. |
java.util.List<java.lang.Object> |
passOrder()
Returns lineraized Quad-tree data ( null is used as a "descend" symbol). |
QuadTree.Node |
root()
Returns the Quad-tree root node. |
void |
split()
The current region is non-uniform (used in the build-phase). |
void |
uniform(java.lang.Object value)
The current region is uniform (used in the build-phase). |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Method Detail |
---|
void init(int _width, int _height)
_width
- The region's width._height
- The region's height.int getWidth()
int getHeight()
void split()
void uniform(java.lang.Object value)
value
- The value associated with the current region.void finish()
QuadTree.Node root()
null
.java.util.List<java.lang.Object> passOrder()
null
is used as a "descend" symbol).
null
plays a role of "descend" symbol.QuadTree.Inspector inspector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |