[−][src]Struct egg::SimpleRunner
Methods
impl SimpleRunner
[src]
pub fn with_iter_limit(self, iter_limit: usize) -> Self
[src]
pub fn with_node_limit(self, node_limit: usize) -> Self
[src]
pub fn with_initial_match_limit(self, initial_match_limit: usize) -> Self
[src]
Trait Implementations
impl Default for SimpleRunner
[src]
impl<L, M> Runner<L, M> for SimpleRunner where
L: Language,
M: Metadata<L>,
[src]
L: Language,
M: Metadata<L>,
type Error = SimpleRunnerError
fn pre_step(&mut self, egraph: &mut EGraph<L, M>) -> Result<(), Self::Error>
[src]
fn during_step(&mut self, egraph: &EGraph<L, M>) -> Result<(), Self::Error>
[src]
fn post_step(
&mut self,
iteration: &Iteration,
_egraph: &mut EGraph<L, M>
) -> Result<(), Self::Error>
[src]
&mut self,
iteration: &Iteration,
_egraph: &mut EGraph<L, M>
) -> Result<(), Self::Error>
fn search_rewrite(
&mut self,
egraph: &mut EGraph<L, M>,
rewrite: &Rewrite<L, M>
) -> Vec<SearchMatches>
[src]
&mut self,
egraph: &mut EGraph<L, M>,
rewrite: &Rewrite<L, M>
) -> Vec<SearchMatches>
fn apply_rewrite(
&mut self,
egraph: &mut EGraph<L, M>,
rewrite: &Rewrite<L, M>,
matches: Vec<SearchMatches>
) -> usize
[src]
&mut self,
egraph: &mut EGraph<L, M>,
rewrite: &Rewrite<L, M>,
matches: Vec<SearchMatches>
) -> usize
fn step(
&mut self,
egraph: &mut EGraph<L, M>,
rules: &[Rewrite<L, M>]
) -> Result<Iteration, Self::Error>
[src]
&mut self,
egraph: &mut EGraph<L, M>,
rules: &[Rewrite<L, M>]
) -> Result<Iteration, Self::Error>
fn run(
&mut self,
egraph: &mut EGraph<L, M>,
rules: &[Rewrite<L, M>]
) -> (Vec<Iteration>, Self::Error)
[src]
&mut self,
egraph: &mut EGraph<L, M>,
rules: &[Rewrite<L, M>]
) -> (Vec<Iteration>, Self::Error)
fn run_expr(
&mut self,
initial_expr: RecExpr<L>,
rules: &[Rewrite<L, M>]
) -> (EGraph<L, M>, RunReport<L, Self::Error>)
[src]
&mut self,
initial_expr: RecExpr<L>,
rules: &[Rewrite<L, M>]
) -> (EGraph<L, M>, RunReport<L, Self::Error>)
Auto Trait Implementations
impl RefUnwindSafe for SimpleRunner
impl Send for SimpleRunner
impl Sync for SimpleRunner
impl Unpin for SimpleRunner
impl UnwindSafe for SimpleRunner
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,