pub fn with_span_factor(span_factor: f64) -> Self {
        CoverTree {
            root: None,
            span_factor: span_factor,
            len: 0,
        }
    }
/// Constructs an empty `CoverTree` with the specified span factor.
/// 
/// # Example
///
/// ```rust
/// # use std::error::Error;
/// # use covertree::CoverTree;
/// # fn try_main() -> Result<(), Box<Error>> {
/// #    
/// let cover_tree: CoverTree<f32> = CoverTree::with_span_factor(2.0);
/// #
/// #     Ok(())
/// # }
/// #
/// # fn main() {
/// #     try_main().unwrap();
/// # }
/// ```
Constructs an empty `CoverTree` with the specified span factor.
Constructs an empty ` CoverTree ` with the specified span factor .
pub fn with_span_factor(span_factor: f64) -> Self {
        CoverTree {
            root: None,
            span_factor: span_factor,
            len: 0,
        }
    }
pub fn with_span_factor ( span_factor : f64 ) -> Self { CoverTree { root : None , span_factor : span_factor , len : 0 , } }
Constructs an empty `CoverTree` with the specified span factor.
Constructs an empty ` CoverTree ` with the specified span factor .
span_factor
f64
span_factor
f64
example
None
use std::error::error;
None
use covertree::covertree;
None
fn try_main() -> result<(), box<error>> {
None
let cover_tree: CoverTree = CoverTree::with_span_factor(2.0).
let cover_tree : CoverTree = CoverTree :: with_span_factor ( 2 . 0 ) .
ok(())
None
}
None
fn main() {
None
try_main().unwrap();
None
}
None