pub struct BuildConfiguration {
pub k: usize,
pub m: usize,
pub seed: u64,
pub num_threads: usize,
pub ram_limit_gib: usize,
pub lambda: f64,
pub canonical: bool,
pub partitioned_mphf: bool,
pub weighted: bool,
pub verbose: bool,
pub tmp_dirname: PathBuf,
}Expand description
Configuration parameters for building an SSHash dictionary
Fields§
§k: usizeK-mer length (must be odd, between 3 and 63)
m: usizeMinimizer length (must be odd, m < k)
seed: u64Seed for hash functions
num_threads: usizeNumber of threads for parallel operations (0 = all available cores)
ram_limit_gib: usizeRAM limit in GiB for external sorting
lambda: f64PTHash lambda parameter (trade-off for MPHF construction) Typically 3.5-4.0 for minimal size, higher for faster queries
canonical: boolBuild in canonical mode (k-mer and reverse-complement map to same entry)
partitioned_mphf: boolUse partitioned MPHF for parallel construction (default: true)
weighted: boolBuild weighted dictionary (with k-mer abundance/weights)
verbose: boolVerbose output during construction
tmp_dirname: PathBufDirectory for temporary files during construction
Implementations§
Trait Implementations§
Source§impl Clone for BuildConfiguration
impl Clone for BuildConfiguration
Source§fn clone(&self) -> BuildConfiguration
fn clone(&self) -> BuildConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildConfiguration
impl Debug for BuildConfiguration
Auto Trait Implementations§
impl Freeze for BuildConfiguration
impl RefUnwindSafe for BuildConfiguration
impl Send for BuildConfiguration
impl Sync for BuildConfiguration
impl Unpin for BuildConfiguration
impl UnsafeUnpin for BuildConfiguration
impl UnwindSafe for BuildConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.