Struct sourmash::sketch::minhash::KmerMinHash [−][src]
pub struct KmerMinHash { /* fields omitted */ }
Implementations
Create a builder for building KmerMinHash
.
On the builder, call .num(...)
, .ksize(...)
, .hash_function(...)
(optional), .seed(...)
(optional), .max_hash(...)
(optional), .mins(...)
(optional), .abunds(...)
(optional), .md5sum(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of KmerMinHash
.
pub fn new(
scaled: u64,
ksize: u32,
hash_function: HashFunctions,
seed: u64,
track_abundance: bool,
num: u32
) -> KmerMinHash
pub fn similarity(
&self,
other: &KmerMinHash,
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 KmerMinHash
impl Send for KmerMinHash
impl Sync for KmerMinHash
impl Unpin for KmerMinHash
impl UnwindSafe for KmerMinHash
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.