KD-tree text visualizer that provides service to diplay tree structure using text representation.
More...
KD-tree text visualizer that provides service to diplay tree structure using text representation.
Definition at line 33 of file kdtree.py.
◆ __init__()
def pyclustering.container.kdtree.kdtree_text_visualizer.__init__ |
( |
|
self, |
|
|
|
kdtree_instance |
|
) |
| |
Initialize KD-tree text visualizer.
- Parameters
-
[in] | kdtree_instance | (kdtree): Instance of KD-Tree that should be visualized. |
Definition at line 39 of file kdtree.py.
◆ visualize()
def pyclustering.container.kdtree.kdtree_text_visualizer.visualize |
( |
|
self, |
|
|
|
display = True |
|
) |
| |
Display KD-tree to console.
- Parameters
-
[in] | display | (bool): If 'True' then tree will be shown in console. |
- Returns
- (string) Text representation of the KD-tree.
Definition at line 52 of file kdtree.py.
The documentation for this class was generated from the following file: