pub struct SolutionChunk {
pub iteration: usize,
pub values: Vec<(IndexType, Precision)>,
pub residual_norm: Precision,
pub converged: bool,
pub estimated_remaining_iterations: Option<usize>,
pub timestamp: u64,
}Expand description
Streaming solution chunk for real-time applications.
Fields§
§iteration: usizeIteration number when this chunk was produced
values: Vec<(IndexType, Precision)>Partial solution values (sparse representation)
residual_norm: PrecisionCurrent residual norm
converged: boolWhether the solution has converged
estimated_remaining_iterations: Option<usize>Estimated remaining iterations
timestamp: u64Timestamp when chunk was generated
Trait Implementations§
Source§impl Clone for SolutionChunk
impl Clone for SolutionChunk
Source§fn clone(&self) -> SolutionChunk
fn clone(&self) -> SolutionChunk
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 SolutionChunk
impl Debug for SolutionChunk
Source§impl<'de> Deserialize<'de> for SolutionChunk
impl<'de> Deserialize<'de> for SolutionChunk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SolutionChunk
impl PartialEq for SolutionChunk
Source§impl Serialize for SolutionChunk
impl Serialize for SolutionChunk
impl StructuralPartialEq for SolutionChunk
Auto Trait Implementations§
impl Freeze for SolutionChunk
impl RefUnwindSafe for SolutionChunk
impl Send for SolutionChunk
impl Sync for SolutionChunk
impl Unpin for SolutionChunk
impl UnwindSafe for SolutionChunk
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