Struct z3tracer::model::Model[][src]

pub struct Model { /* fields omitted */ }

Main state of the Z3 tracer.

Implementations

impl Model[src]

pub fn new(config: ModelConfig) -> Self[src]

Build a new Z3 tracer. Experimental. Use Model::default() instead if possible.

pub fn process<R>(&mut self, path_name: Option<String>, input: R) -> Result<()> where
    R: BufRead
[src]

Process some input.

pub fn terms(&self) -> &BTreeMap<Ident, TermData>[src]

All terms in the model.

pub fn instantiations(&self) -> &BTreeMap<QIKey, QuantInstantiation>[src]

All instantiations in the model.

pub fn processed_logs(&self) -> usize[src]

Number of Z3 logs that were processed.

pub fn most_instantiated_terms(&self) -> BinaryHeap<(usize, Ident)>[src]

Construct a max-heap of the (most) instantiated quantified terms.

pub fn term(&self, id: &Ident) -> RawResult<&Term>[src]

Retrieve a particular term.

pub fn term_data(&self, id: &Ident) -> RawResult<&TermData>[src]

Retrieve a particular term, including metadata.

pub fn id_to_sexp(
    &self,
    venv: &BTreeMap<u64, Symbol>,
    id: &Ident
) -> RawResult<String>
[src]

Display a term given by id.

pub fn term_to_sexp(
    &self,
    venv: &BTreeMap<u64, Symbol>,
    term: &Term
) -> RawResult<String>
[src]

Display a term by id.

Trait Implementations

impl Debug for Model[src]

impl Default for Model[src]

impl LogVisitor for &mut Model[src]

Auto Trait Implementations

impl RefUnwindSafe for Model

impl Send for Model

impl Sync for Model

impl Unpin for Model

impl UnwindSafe for Model

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