[][src]Enum chalk_solve::SolverChoice

pub enum SolverChoice {
    SLG {
        max_size: usize,
        expected_answers: Option<usize>,
    },
    Recursive {
        overflow_depth: usize,
        caching_enabled: bool,
    },
}

Variants

SLG

Run the SLG solver, producing a Solution.

Fields of SLG

max_size: usizeexpected_answers: Option<usize>
Recursive

Run the recursive solver.

Fields of Recursive

overflow_depth: usizecaching_enabled: bool

Implementations

impl SolverChoice[src]

pub fn slg(max_size: usize, expected_answers: Option<usize>) -> Self[src]

Returns specific SLG parameters.

pub fn slg_default() -> Self[src]

Returns the default SLG parameters.

pub fn recursive() -> Self[src]

Returns the default recursive solver setup.

pub fn into_solver<I: Interner>(self) -> Solver<I>[src]

Creates a solver state.

Trait Implementations

impl Clone for SolverChoice[src]

impl Copy for SolverChoice[src]

impl Debug for SolverChoice[src]

impl Default for SolverChoice[src]

impl Eq for SolverChoice[src]

impl Hash for SolverChoice[src]

impl Ord for SolverChoice[src]

impl PartialEq<SolverChoice> for SolverChoice[src]

impl PartialOrd<SolverChoice> for SolverChoice[src]

impl StructuralEq for SolverChoice[src]

impl StructuralPartialEq for SolverChoice[src]

Auto Trait Implementations

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> Cast for T[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.