Struct spatial::tree::mbr::RStar [] [src]

pub struct RStar<P, DIM, LG, T> {
    // some fields omitted
}

Convenience struct for creating a new R* Tree

Methods

impl<P, DIM, LG, T> RStar<P, DIM, LG, T> where P: Float + Signed + Bounded + MulAssign + AddAssign + ToPrimitive + FromPrimitive + Copy + Debug + Default, DIM: ArrayLength<P> + ArrayLength<(P, P)> + Clone, LG: MbrLeafGeometry<P, DIM>
[src]

fn new() -> RStarTree<P, DIM, LG, T>

Create a new R* tree with min and max children lengths set to 25 and 64, respectively

fn new_with_max(max: usize) -> RStarTree<P, DIM, LG, T>

Create a new R* tree with max children lengths as provided. min length will be set to 0.3 * max

fn new_with_options(max: usize, reinsert_p: f32, split_p: f32, choose_subtree_p: usize) -> RStarTree<P, DIM, LG, T>

Creates a mew R* tree with options as provided. min children will be set to reinsert_p.min(split_p) * max