[][src]Struct batsat::callbacks::Stats

pub struct Stats {
    pub n_restarts: usize,
    pub n_clauses: u64,
    pub n_theory: u64,
    pub n_learnt: u64,
    pub n_gc: usize,
    // some fields omitted
}

Basic set of callbacks, maintaining some statistics and a "stop" predicate.

Fields

n_restarts: usizen_clauses: u64n_theory: u64n_learnt: u64n_gc: usize

Methods

impl Stats[src]

pub fn new() -> Self[src]

Allocate a new set of callbacks.

pub fn basic_mut(&mut self) -> &mut Basic[src]

Cast the statistics CB into a basic CB.

Trait Implementations

impl Callbacks for Stats[src]

impl Default for Stats[src]

impl Display for Stats[src]

Auto Trait Implementations

impl !RefUnwindSafe for Stats

impl !Send for Stats

impl !Sync for Stats

impl Unpin for Stats

impl !UnwindSafe for Stats

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.