pub fn new_params(metric: Met, params: Params) -> Self {
        Self {
            metric,
            zero: vec![],
            features: vec![],
            layers: vec![],
            prng: R::from_seed(R::Seed::default()),
            params,
        }
    }
/// Creates a new HNSW with a default seeded PRNG and with the specified params.
Creates a new HNSW with a default seeded PRNG and with the specified params.
Creates a new HNSW with a default seeded PRNG and with the specified params .
pub fn new_params(metric: Met, params: Params) -> Self {
        Self {
            metric,
            zero: vec![],
            features: vec![],
            layers: vec![],
            prng: R::from_seed(R::Seed::default()),
            params,
        }
    }
pub fn new_params ( metric : Met , params : Params ) -> Self { Self { metric , zero : vec ! [ ] , features : vec ! [ ] , layers : vec ! [ ] , prng : R :: from_seed ( R :: Seed :: default ( ) ) , params , } }
Creates a new HNSW with a default seeded PRNG and with the specified params.
Creates a new HNSW with a default seeded PRNG and with the specified params .
metric
Met
params
Params
metric
Met
params
Params