|
reglibcpp
2.0.0
A C++ implementation of models for regular languages
|
Private implementation details of NFAs. More...
Public Member Functions | |
| impl () | |
| Constructs private implementation object for an NFA accepting the empty language ∅. More... | |
| impl (vector< char32_t > &&u32alphabet, vector< vector< valarray< bool >>> &&transitions, vector< string > &&labels, valarray< bool > &&acceptingStates) | |
| Constructs private implementation object with provided members and empty ε-closure cache. More... | |
Public Attributes | |
| std::shared_ptr< dfa const > | equivalent |
| Stores a minimal DFA accepting the same language as this object's NFA. More... | |
| valarray< bool > | accepting |
A true value marks an index as belonging to an accept state. More... | |
| vector< char32_t > | u32alphabet |
| Represents the set of processable symbols. More... | |
| vector< string > | alphabet |
| Represents the set of processable symbols as UTF-8-encoded strings. More... | |
| vector< valarray< bool > > | epsClosures |
| Cache for every state's ε-closures. More... | |
| vector< string > | labels |
| Stores the names of states. More... | |
| vector< vector< valarray< bool > > > | transitions |
Stores the transition function as a table viz state index × symbol index → list of bools with true at reached states' indices. More... | |
|
inline |
|
inline |
Constructs private implementation object with provided members and empty ε-closure cache.
| valarray<bool> reg::nfa::impl::accepting |
|
mutable |
| vector<char32_t> reg::nfa::impl::u32alphabet |
1.8.14