pub struct EcfpConfig {
pub radius: u32,
pub nbits: usize,
pub use_chirality: bool,
pub use_double_fold: bool,
}Expand description
Configuration for ECFP computation.
Fields§
§radius: u32Number of iterations (radius). ECFP4 = 2, ECFP6 = 3.
nbits: usizeOutput bitvector size (default 2048).
use_chirality: boolWhen true, include tetrahedral chirality in the initial atom hash so
that R and S enantiomers produce different fingerprints.
Defaults to false (chirality ignored, matching RDKit’s useChirality=False).
use_double_fold: boolWhen true, each hash sets two bit positions (using single and double-folded hash)
to reduce bitvector collisions. This reduces collision probability but changes
fingerprint values — not backwards-compatible with stored fingerprints.
Defaults to false (single-bit folding, current behavior preserved).
Trait Implementations§
Source§impl Clone for EcfpConfig
impl Clone for EcfpConfig
Source§fn clone(&self) -> EcfpConfig
fn clone(&self) -> EcfpConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EcfpConfig
impl Debug for EcfpConfig
Auto Trait Implementations§
impl Freeze for EcfpConfig
impl RefUnwindSafe for EcfpConfig
impl Send for EcfpConfig
impl Sync for EcfpConfig
impl Unpin for EcfpConfig
impl UnsafeUnpin for EcfpConfig
impl UnwindSafe for EcfpConfig
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