KDNode
Module: strata.neighbors • Kind: struct • Traits: Copyable, Movable
Source: strata/neighbors/kd_tree.mojo
struct KDNode(Copyable, Movable)from strata.neighbors import KDNodeContiguous node in a flat KD-Tree buffer.
Constructors
Section titled “Constructors”def __init__( out self, point_idx: Int, split_dim: Int, split_val: Float64, left_child: Int = -1, right_child: Int = -1,)| Argument | Type | Description |
|---|---|---|
point_idx |
Int |
— |
split_dim |
Int |
— |
split_val |
Float64 |
— |
left_child |
Int |
— |
right_child |
Int |
— |