|
Public Member Functions |
| | RefNfa (Nfa *nfa) |
| | RefNfa (const Nfa &a) |
| | RefNfa (const RefNfa &a) |
| | ~RefNfa () |
| RefNfa & | operator= (const RefNfa &a) |
| Nfa::Factory * | ptr_factory () const |
| Nfa * | ptr_clone () const |
| SymbolSet | alphabet () const |
| StateSet | states () const |
| StateSet | states_starting () const |
| Relation | transitions () const |
| StateSet | states_accepting () const |
| SymbolSet | edge_between (StateSet q, StateSet r) const |
| SymbolSet | edge_between (State q, State r) const |
| StateSet | successors (StateSet q, SymbolSet on) const |
| StateSet | predecessors (StateSet q, SymbolSet on) const |
| StateSet | reachable_successors (StateSet q, SymbolSet on) const |
| StateSet | reachable_predecessors (StateSet q, SymbolSet on) const |
| unsigned int | n_states () const |
| Nfa * | ptr_product (const Nfa &a2, bool(*fn)(bool v1, bool v2)) const |
| Nfa * | ptr_concatenation (const Nfa &a2) const |
| Nfa * | ptr_deterministic () const |
| Nfa * | ptr_minimize () const |
| Nfa * | ptr_project (Domain vs) const |
| Nfa * | ptr_rename (VarMap map) const |
| Nfa * | ptr_rename (Domain vs1, Domain vs2) const |
| Nfa * | ptr_kleene () const |
| Nfa * | ptr_reverse () const |
| Nfa * | ptr_negate () const |
| Nfa * | ptr_with_starting_accepting (StateSet starting, StateSet accepting) const |
| | Change starting and accepting states of automaton.
|
| Nfa * | ptr_filter_states (StateSet s) const |
| Nfa * | ptr_filter_states_live () const |
| Nfa * | ptr_filter_states_reachable () const |
| Nfa * | ptr_filter_states_productive () const |
| State | add_state (bool accepting, bool starting=false) |
| void | add_edge (StateSet from, SymbolSet on, StateSet to) |
| | Adds an edge in the automaton.
|
| void | add_edge (State from, SymbolSet on, State to) |
| | Adds an edge in the automaton.
|
| void | add_transitions (Relation new_transitions) |
| | Adds transitions to the automaton.
|
| bool | is_true () const |
| bool | is_false () const |
| RefNfa | deterministic () const |
| RefNfa | minimize () const |
| RefNfa | project (Domain vs) const |
| RefNfa | rename (VarMap map) const |
| RefNfa | rename (Domain vs1, Domain vs2) const |
| RefNfa | kleene () const |
| RefNfa | reverse () const |
| RefNfa | negate () const |
| RefNfa | operator! () const |
| RefNfa | with_starting_accepting (StateSet starting, StateSet accepting) const |
| RefNfa | filter_states (StateSet s) const |
| RefNfa | filter_states_live () const |
| RefNfa | filter_states_reachable () const |
| RefNfa | filter_states_productive () const |
Friends |
| RefNfa | operator & (const RefNfa &a1, const RefNfa &a2) |
| RefNfa | operator| (const RefNfa &a1, const RefNfa &a2) |
| RefNfa | operator- (const RefNfa &a1, const RefNfa &a2) |
| RefNfa | operator * (const RefNfa &a1, const RefNfa &a2) |