automata_core 0.2.0

Deterministic and nondeterministic automata algorithms in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Unlabeled reference automata (`Label = ()`).
//!
//! [`SimpleDFA`] and [`SimpleNFA`] are type aliases for
//! [`SimpleLabeledDFA`](crate::labeled::simple::SimpleLabeledDFA) with
//! `Label = ()` and [`SimpleLabeledNFA`](crate::labeled::simple::SimpleLabeledNFA)
//! with `Label = ()`.
//! Accepting states are those listed in constructors; use
//! [`crate::labeled::simple`] for custom label types.

mod dfa;
mod nfa;
mod state;

pub use crate::labeled::simple::SimpleBuildError;
pub use dfa::SimpleDFA;
pub use nfa::SimpleNFA;
pub use state::{SimpleDFAState, SimpleNFAState};