Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
kd_tree
v0.6.0
Kd
Tree
Node
Priority
Item
Queue
Generated using Crystal 1.10.1
2024-04-12 09:23:47 UTC
class
Kd::
Tree::
Node(T)
Kd::Tree::Node(T)
Reference
Object
Defined in:
kd_tree.cr
Constructors
.new
(pivot : Array(T), split : Int32, left :
self
| Nil, right :
self
| Nil)
Instance Method Summary
#left
#pivot
#right
#split
Constructor Detail
def self.
new
(pivot : Array(T), split : Int32, left :
self
| Nil, right :
self
| Nil)
#
[
View source
]
Instance Method Detail
def
left
#
[
View source
]
def
pivot
#
[
View source
]
def
right
#
[
View source
]
def
split
#
[
View source
]