Skip to main content

Report

Struct Report 

Source
pub struct Report {
    pub converged: bool,
    pub failed: Vec<String>,
    pub at_limit: Vec<String>,
    pub iterations: usize,
    pub phases: Vec<(Stop, usize, f64)>,
    pub enclosed: Option<StateValues>,
    pub unproven: Vec<(Vec<String>, String)>,
    pub evaluations: [usize; 2],
    pub largest: usize,
    pub work: u64,
    pub structure: Structure,
}
Expand description

How a solve went: whether every constraint holds, and how hard it was to get there.

Fields§

§converged: bool§failed: Vec<String>

The constraints that do not hold, by name.

§at_limit: Vec<String>

The values the solve stopped at a limit of: those the limits held at their bounds read.

§iterations: usize

How many steps the solve took, and each of its minimizations — none for a check: why it stopped, after how many steps, and the largest residual it left.

§phases: Vec<(Stop, usize, f64)>§enclosed: Option<StateValues>

Every value the solve moved — and the others solved with them — as enclosed: the box its true value is in, about where the solve put it (see solve::Enclosure). None for a solve not asked to prove it, and for a check.

§unproven: Vec<(Vec<String>, String)>

The values no true solution near where the solve ended is proven for, and why: the constraints that conflict there, by name, or what is singular.

§evaluations: [usize; 2]

How many times the constraints were made: by the solve, and to enclose its solution.

§largest: usize

The most variables of a group the solve moved (see solve::Report::largest), and the dense linear algebra the solve did (solve::Report::work).

§work: u64§structure: Structure

The groups it solved in: what the next event of a drag solves in (see [solve]). None found for a check.

Trait Implementations§

Source§

impl Clone for Report

Source§

fn clone(&self) -> Report

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Report

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Report

Source§

fn eq(&self, other: &Report) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Report

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.