[−][src]Struct goko::CoverTreeParameters
Container for the parameters governing the construction of the covertree
Fields
total_nodes: AtomicUsize
An atomic that tracks all nodes as they are created across all threads. This may not reflect what your current reader can see.
scale_base: f32
See paper or main description, governs the number of children of each node. Higher is more.
leaf_cutoff: usize
If a node covers less than or equal to this number of points, it becomes a leaf.
min_res_index: i32
If a node has scale index less than or equal to this, it becomes a leaf
use_singletons: bool
If you don't want singletons messing with your tree and want everything to be a node or a element of leaf node, make this true.
partition_type: PartitionType
The partition type of the tree
point_cloud: Arc<D>
The point cloud this tree references
verbosity: u32
This should be replaced by a logging solution
plugins: RwLock<TypeMap>
This is where the base plugins are are stored.
Implementations
impl<D: PointCloud> CoverTreeParameters<D>
[src]
pub fn internal_index(&self, scale_index: i32) -> usize
[src]
Gets the index of the layer in the vector.
Trait Implementations
impl<D: Debug + PointCloud> Debug for CoverTreeParameters<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for CoverTreeParameters<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
impl<D> Send for CoverTreeParameters<D>
impl<D> Sync for CoverTreeParameters<D>
impl<D> Unpin for CoverTreeParameters<D>
impl<D> UnwindSafe for CoverTreeParameters<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,