Struct acacia::partition::Ncube [] [src]

pub struct Ncube<P, S> { /* fields omitted */ }

An N-cube based partitioning scheme

Methods

impl<P, S: PartialOrd + Zero> Ncube<P, S>
[src]

Create a new N-cube given its center and width

impl<P, S: Clone> Ncube<P, S>
[src]

The width of the N-cube

impl<P: Clone, S> Ncube<P, S>
[src]

The center of the N-cube

Trait Implementations

impl<P: Copy, S: Copy> Copy for Ncube<P, S>
[src]

impl<P: Clone, S: Clone> Clone for Ncube<P, S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Debug, S: Debug> Debug for Ncube<P, S>
[src]

Formats the value using the given formatter.

impl<P, S> Subdivide for Ncube<P, S> where P: Dimension + Index<usize, Output=S> + IndexMut<usize, Output=S> + Copy, S: BaseFloat + PartialOrd + NumCast
[src]

Subdivide into smaller partitions

impl<P, S> Partition<P> for Ncube<P, S> where P: Dimension + Index<usize, Output=S> + IndexMut<usize, Output=S> + Copy, S: BaseFloat + PartialOrd + NumCast
[src]

Does the partition contain an element?

Dispatch an element to the correct subpartition Read more