pub struct AlignmentConfig {
pub alpha: f64,
pub max_iter: usize,
pub tolerance: f64,
pub greedy_candidates: usize,
pub local_search_depth: usize,
}Expand description
Configuration for network alignment algorithms.
Controls the trade-off between topology and prior knowledge, convergence criteria, and GRASP meta-heuristic parameters.
Fields§
§alpha: f64Weight for topology vs. prior similarity (0.0 = only prior, 1.0 = only topology). Default: 0.6
max_iter: usizeMaximum number of power iterations for IsoRank. Default: 100
tolerance: f64Convergence tolerance for power iteration. Default: 1e-8
greedy_candidates: usizeSize of the restricted candidate list for GRASP construction. Default: 5
local_search_depth: usizeMaximum number of local search iterations in GRASP. Default: 50
Trait Implementations§
Source§impl Clone for AlignmentConfig
impl Clone for AlignmentConfig
Source§fn clone(&self) -> AlignmentConfig
fn clone(&self) -> AlignmentConfig
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 AlignmentConfig
impl Debug for AlignmentConfig
Auto Trait Implementations§
impl Freeze for AlignmentConfig
impl RefUnwindSafe for AlignmentConfig
impl Send for AlignmentConfig
impl Sync for AlignmentConfig
impl Unpin for AlignmentConfig
impl UnsafeUnpin for AlignmentConfig
impl UnwindSafe for AlignmentConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more