: Public Class

Created: | 2015-07-31 오후 4:10:06
Modified: | 2015-07-31 오후 4:10:06
Project: |
Author: | shint
Version: | 1.0
Phase: | 1.0
Status: | Proposed
Complexity: | Easy
Difficulty: |
Priority: |
Multiplicity: |
Advanced: |
UUID: | {CEBF1EFF-9667-4a0b-AA51-21AB593885D3}
Appears In: | Package1

k-D tree 클래스 T - k-D tree 노드 위치의 데이터 형 DIM - k-D tree 노드 위치의 차원(데이터 수)<p/>

- Attributes
- Operations
- Associations To
- Associations From

Attribute
Private sHyperCube* _cube
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private T _res_min_dist
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private sKdNode* _res_min_node
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Notes: | nearest neighbour search 결과를 저장하는 곳#lt;p/#gt;
Private list<sKdNode *> _res_node
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Notes: | range search 결과를 저장하는 곳#lt;p/#gt;
Private sKdNode* _root
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private int ref_count
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False

Operation
Public CKdTree():
Details: Sequential
Tags: | bodyLocation=classDec initializer=_root(NULL),_cube(NULL),ref_count(0)
Public CKdTree( kdt: CKdTree&,
Default: |
Kind: | in
Stereotype: |
):
Details: Sequential
Tags: | bodyLocation=classDec initializer=_root(kdt._root),_cube(kdt._cube),ref_count(kdt.ref_count + 1)
Public ~CKdTree():
Details: Sequential
Tags: | bodyLocation=classDec
Private compare( low[DIM]: T,
Default: |
Kind: | in
Stereotype: |
high[DIM]: T,
Default: |
Kind: | in
Stereotype: |
pos[DIM]: T,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Tags: | bodyLocation=classDec inline=true
Public insert( pos[DIM]: T,
Default: |
Kind: | in
Stereotype: |
data: void*,
Default: | NULL
Kind: | in
Stereotype: |
):void
Details: Sequential
Tags: | bodyLocation=classDec
Private insert_i( node: sKdNode*&,
Default: |
Kind: | in
Stereotype: |
pos[DIM]: T,
Default: |
Kind: | in
Stereotype: |
data: void*,
Default: |
Kind: | in
Stereotype: |
dir: int,
Default: |
Kind: | in
Stereotype: |
):void
Details: Sequential
Tags: | bodyLocation=classDec
Public nn_search( pos[DIM]: T,
Default: |
Kind: | in
Stereotype: |
):sKdNode *
Details: Sequential
Tags: | bodyLocation=classDec
Private nn_search_i( node: sKdNode*,
Default: |
Kind: | in
Stereotype: |
pos[DIM]: T,
Default: |
Kind: | in
Stereotype: |
_cube: sHyperCube*,
Default: |
Kind: | in
Stereotype: |
dir: int,
Default: |
Kind: | in
Stereotype: |
):void
Details: Sequential
Tags: | bodyLocation=classDec
Public range_search( low[DIM]: T,
Default: |
Kind: | in
Stereotype: |
high[DIM]: T,
Default: |
Kind: | in
Stereotype: |
):list<sKdNode *> *
Details: Sequential
Tags: | bodyLocation=classDec
Private range_search_i( node: sKdNode*,
Default: |
Kind: | in
Stereotype: |
low[DIM]: T,
Default: |
Kind: | in
Stereotype: |
high[DIM]: T,
Default: |
Kind: | in
Stereotype: |
dir: int,
Default: |
Kind: | in
Stereotype: |
):void
Details: Sequential
Tags: | bodyLocation=classDec

Element | Source Role | Target Role
«struct» sHyperCube Class | Name: | Name: _cube
Details:
«struct» sKdNode Class | Name: | Name: _res_min_node
Details:
«struct» sKdNode Class | Name: | Name: _root
Details:

Element | Source Role | Target Role
CMagnetContainer Class | Name: | Name: _kd
Details: