Struct sourmash::sketch::minhash::KmerMinHashBTree [−][src]
pub struct KmerMinHashBTree { /* fields omitted */ }
Implementations
Create a builder for building KmerMinHashBTree
.
On the builder, call .num(...)
, .ksize(...)
, .hash_function(...)
(optional), .seed(...)
(optional), .max_hash(...)
(optional), .mins(...)
(optional), .abunds(...)
(optional), .current_max(...)
(optional), .md5sum(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of KmerMinHashBTree
.
pub fn new(
scaled: u64,
ksize: u32,
hash_function: HashFunctions,
seed: u64,
track_abundance: bool,
num: u32
) -> KmerMinHashBTree
pub fn similarity(
&self,
other: &KmerMinHashBTree,
ignore_abundance: bool,
downsample: bool
) -> Result<f64, Error>
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for KmerMinHashBTree
impl Send for KmerMinHashBTree
impl Sync for KmerMinHashBTree
impl Unpin for KmerMinHashBTree
impl UnwindSafe for KmerMinHashBTree
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.