[][src]Struct tree_automata::alternating::Automaton

pub struct Automaton<F: Symbol, Q: State, I> { /* fields omitted */ }

Alternating tree automaton.

Implementations

impl<F: Symbol, Q: State, I> Automaton<F, Q, I>[src]

pub fn new() -> Automaton<F, Q, I>[src]

Create a new empty alternating tree automaton.

pub fn states(&self) -> Keys<'_, Q, HashMap<F, Clause<Q, I>>>[src]

pub fn clauses_for_state(&self, q: &Q) -> Iter<'_, F, Clause<Q, I>>[src]

pub fn add(&mut self, state: &Q, symbol: &F, conjuction: Conjuction<Q, I>)[src]

Add the given conjuction to the clause (state, symbol).

pub fn is_initial(&self, q: &Q) -> bool[src]

pub fn set_initial(&mut self, q: Q) -> bool[src]

Set the given state an initial state. Return true if the state was not already initial. Return false if it was already an initial state.

pub fn map_states<R: State, M>(&self, g: M) -> Automaton<F, R, I> where
    M: Fn(&Q) -> R,
    I: Clone
[src]

impl<F: Symbol, Q: State> Automaton<F, Q, u32>[src]

pub fn add_transition(
    &mut self,
    bottom_up::Configuration: &Configuration<F, Q>,
    state: &Q
)
[src]

Add a bottom-up transition. It is added as a clause to the corresponding (state, symbol) pair.

Trait Implementations

impl<'a, F: Symbol, Q: State, L: Label> From<&'a Automaton<F, Q, L>> for Automaton<F, Q, u32>[src]

Auto Trait Implementations

impl<F, Q, I> RefUnwindSafe for Automaton<F, Q, I> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    Q: RefUnwindSafe

impl<F, Q, I> Send for Automaton<F, Q, I> where
    F: Send,
    I: Send,
    Q: Send

impl<F, Q, I> Sync for Automaton<F, Q, I> where
    F: Sync,
    I: Sync,
    Q: Sync

impl<F, Q, I> Unpin for Automaton<F, Q, I> where
    F: Unpin,
    I: Unpin,
    Q: Unpin

impl<F, Q, I> UnwindSafe for Automaton<F, Q, I> where
    F: UnwindSafe,
    I: UnwindSafe,
    Q: UnwindSafe

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,