pub struct DistributedConfig<F: IntegrateFloat> {
pub min_chunk_size: F,
pub max_chunk_size: F,
pub chunks_per_node: usize,
pub tolerance: F,
pub max_iterations: usize,
pub checkpointing_enabled: bool,
pub checkpoint_interval: usize,
pub communication_timeout: Duration,
pub heartbeat_interval: Duration,
pub max_retries: u32,
pub load_balancing: LoadBalancingStrategy,
pub fault_tolerance: FaultToleranceMode,
}Expand description
Configuration for distributed computation
Fields§
§min_chunk_size: FMinimum chunk size (time interval)
max_chunk_size: FMaximum chunk size
chunks_per_node: usizeTarget number of chunks per node
tolerance: FTolerance for solution accuracy
max_iterations: usizeMaximum iterations for convergence
checkpointing_enabled: boolEnable checkpointing
checkpoint_interval: usizeCheckpoint interval (number of chunks)
communication_timeout: DurationCommunication timeout
heartbeat_interval: DurationHeartbeat interval
max_retries: u32Maximum retries for failed chunks
load_balancing: LoadBalancingStrategyLoad balancing strategy
fault_tolerance: FaultToleranceModeFault tolerance mode
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for DistributedConfig<F>
impl<F: Clone + IntegrateFloat> Clone for DistributedConfig<F>
Source§fn clone(&self) -> DistributedConfig<F>
fn clone(&self) -> DistributedConfig<F>
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<F: Debug + IntegrateFloat> Debug for DistributedConfig<F>
impl<F: Debug + IntegrateFloat> Debug for DistributedConfig<F>
Source§impl<F: IntegrateFloat> Default for DistributedConfig<F>
impl<F: IntegrateFloat> Default for DistributedConfig<F>
Auto Trait Implementations§
impl<F> Freeze for DistributedConfig<F>where
F: Freeze,
impl<F> RefUnwindSafe for DistributedConfig<F>where
F: RefUnwindSafe,
impl<F> Send for DistributedConfig<F>where
F: Send,
impl<F> Sync for DistributedConfig<F>where
F: Sync,
impl<F> Unpin for DistributedConfig<F>where
F: Unpin,
impl<F> UnsafeUnpin for DistributedConfig<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for DistributedConfig<F>where
F: UnwindSafe,
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