[−][src]Struct tree_automata::alternating::Automaton
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]
M: Fn(&Q) -> R,
I: Clone,
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]
&mut self,
bottom_up::Configuration: &Configuration<F, Q>,
state: &Q
)
Add a bottom-up transition. It is added as a clause to the corresponding (state, symbol) pair.
Trait Implementations
Auto Trait Implementations
impl<F, Q, I> RefUnwindSafe for Automaton<F, Q, I> where
F: RefUnwindSafe,
I: RefUnwindSafe,
Q: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
Q: RefUnwindSafe,
impl<F, Q, I> Send for Automaton<F, Q, I> where
F: Send,
I: Send,
Q: Send,
F: Send,
I: Send,
Q: Send,
impl<F, Q, I> Sync for Automaton<F, Q, I> where
F: Sync,
I: Sync,
Q: Sync,
F: Sync,
I: Sync,
Q: Sync,
impl<F, Q, I> Unpin for Automaton<F, Q, I> where
F: Unpin,
I: Unpin,
Q: Unpin,
F: Unpin,
I: Unpin,
Q: Unpin,
impl<F, Q, I> UnwindSafe for Automaton<F, Q, I> where
F: UnwindSafe,
I: UnwindSafe,
Q: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
Q: UnwindSafe,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,