Struct fsa::dfa::Automaton
[−]
[src]
pub struct Automaton<T> { pub states: Vec<State<T>>, pub initials: Vec<usize>, }
Fields
states: Vec<State<T>>
initials: Vec<usize>
Methods
impl<T> Automaton<T> where
T: StateData,
[src]
T: StateData,
pub fn determinize<S: State<Data = T>>(&mut self, nfa: &Automaton<S>) -> usize
[src]
pub fn new() -> Automaton<T>
[src]
pub fn minimize(&self) -> Automaton<T> where
T: Clone + Eq + Hash,
[src]
T: Clone + Eq + Hash,
pub fn todot(&self, out: &mut Write) where
T: Display + Eq,
[src]
T: Display + Eq,