Struct lt_fm_index::LtFmIndexConfig [−][src]
pub struct LtFmIndexConfig { /* fields omitted */ }
Expand description
Configuration to generate LtFmIndex safely.
LtFmIndexConfig can safely generate all implementation types in the crate::use_case module through limitations of setting values.
- Default Setting
- Text with no noise (NucleotideOnly, AminoacidOnly)
- Default kmer size
- NucleotideOnly: 10
- NucleotideWithNoise: 9
- AminoacidOnly: 5
- AminoacidWithNoise: 5
- Sampling ratio is 2
- Bwt interval is 64
Implementations
New Config for nucleotide
New Config for aminoacid
Text contains noise
Change kmer size for kmer count table
Kmer size allows the value not less than the length of the text and half the pointer width.
Change sampling ratio for suffix array
Sampling ratio allows the positive integer
Change bwt interval to 128 (default is 64)
Generate LtFmIndex
with Text
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LtFmIndexConfig
impl Send for LtFmIndexConfig
impl Sync for LtFmIndexConfig
impl Unpin for LtFmIndexConfig
impl UnwindSafe for LtFmIndexConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.