Skip to main content

RecordedRunStats

Struct RecordedRunStats 

Source
pub struct RecordedRunStats {
Show 27 fields pub rewriter: String, pub comprehension_expander: String, pub heuristic: String, pub channelling: String, pub seed: u64, pub solver_seed: u32, pub solver: String, pub case_name: String, pub model_index: usize, pub choice_path: Vec<usize>, pub choices: Vec<String>, pub representations: Vec<String>, pub minion_discrete_threshold: Option<usize>, pub sat_encoding_amo: Vec<String>, pub sat_encoding_cardinality: Vec<String>, pub sat_encoding_pb: Vec<String>, pub sat_encoding_table: Vec<String>, pub sat_encoding_element: Vec<String>, pub sat_encoding_alldifferent: Vec<String>, pub status: String, pub solution_limit: Option<i32>, pub translation_time: Option<f64>, pub solve_time: Option<f64>, pub backend_time: Option<f64>, pub search_time: Option<f64>, pub solution_processing_time: Option<f64>, pub rule_trace: RecordedRuleTraceStats,
}
Expand description

Flat timing and resolved modelling choices for one actual exhaustive model.

Fields§

§rewriter: String§comprehension_expander: String§heuristic: String§channelling: String§seed: u64§solver_seed: u32§solver: String§case_name: String§model_index: usize§choice_path: Vec<usize>

Full realised choice indices and labels, rather than the replay prefix.

§choices: Vec<String>§representations: Vec<String>

Distinct representation rules present in the compiled model.

§minion_discrete_threshold: Option<usize>§sat_encoding_amo: Vec<String>§sat_encoding_cardinality: Vec<String>§sat_encoding_pb: Vec<String>§sat_encoding_table: Vec<String>§sat_encoding_element: Vec<String>§sat_encoding_alldifferent: Vec<String>§status: String§solution_limit: Option<i32>

Zero means all solutions; absent means translation only.

§translation_time: Option<f64>

Wall time for parsing, instantiation and rewriting.

§solve_time: Option<f64>

Wall time for complete solution collection and output.

§backend_time: Option<f64>§search_time: Option<f64>

Solver-call wall time, including callbacks and solver-time rewrites.

§solution_processing_time: Option<f64>§rule_trace: RecordedRuleTraceStats

Rule counts for this compiled model; written as dotted keys by the canonical writer.

Trait Implementations§

Source§

impl Debug for RecordedRunStats

Source§

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

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

impl Default for RecordedRunStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for RecordedRunStats

Source§

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 Serialize for RecordedRunStats

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.

§

impl<T, A> IntoAst<A> for T
where T: Into<A>, A: Ast,

§

fn into_ast(self, _a: &A) -> A

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 568 bytes