pub struct ComplexityEstimate {
pub algorithm: Algorithm,
pub estimated_flops: u64,
pub estimated_iterations: usize,
pub estimated_memory_bytes: usize,
pub complexity_class: ComplexityClass,
}Expand description
Estimated computational complexity for a solve.
Returned by SolverOrchestrator::estimate_complexity to let callers
decide whether to proceed, batch, or reject a query.
Fields§
§algorithm: AlgorithmAlgorithm that would be selected.
estimated_flops: u64Estimated number of floating-point operations.
estimated_iterations: usizeEstimated number of iterations (for iterative methods).
estimated_memory_bytes: usizeEstimated peak memory usage in bytes.
complexity_class: ComplexityClassA qualitative complexity class label.
Trait Implementations§
Source§impl Clone for ComplexityEstimate
impl Clone for ComplexityEstimate
Source§fn clone(&self) -> ComplexityEstimate
fn clone(&self) -> ComplexityEstimate
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 moreAuto Trait Implementations§
impl Freeze for ComplexityEstimate
impl RefUnwindSafe for ComplexityEstimate
impl Send for ComplexityEstimate
impl Sync for ComplexityEstimate
impl Unpin for ComplexityEstimate
impl UnsafeUnpin for ComplexityEstimate
impl UnwindSafe for ComplexityEstimate
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