#include <UnreachableStatesRemover.h>
Algorithm for the removal of unreachable states from a finite automaton and a deterministic finite tree automaton. Unreachable state is a state that is not accessible from the initial state of the automaton by any string.
For a finite automaton, we implement Melichar: Jazyky a překlady, 2.29. For a deterministic finite tree automaton, we implement ???
- See also
- automaton::simplify::Trim
-
automaton::simplify::UselessStatesRemover
◆ remove() [1/4]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Template Parameters
-
SymbolType | Type for input symbols. |
StateType | Type for states. |
- Parameters
-
fsm | automaton to remove unreachable states from |
- Returns
fsm
without unreachable states
◆ remove() [2/4]
static T automaton::simplify::UnreachableStatesRemover::remove |
( |
const T & |
afza | ) |
|
|
static |
Removes unreachable states from an arc-factored (non)deterministic z-automaton
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Template Parameters
-
T | type of a finite tree automaton |
- Parameters
-
afza | automaton to remove unreachable states from |
- Returns
afza
without unreachable states
◆ remove() [3/4]
T automaton::simplify::UnreachableStatesRemover::remove |
( |
const T & |
fsm | ) |
|
|
static |
Removes unreachable states from a finite automaton.
- Template Parameters
-
T | type of a finite automaton |
- Parameters
-
fsm | automaton to remove unreachable states from |
- Returns
fsm
without unreachable states
◆ remove() [4/4]
static T automaton::simplify::UnreachableStatesRemover::remove |
( |
const T & |
fta | ) |
|
|
static |
Removes unreachable states from a finite tree automaton.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Template Parameters
-
T | type of a finite tree automaton |
- Parameters
-
fta | automaton to remove unreachable states from |
- Returns
fta
without unreachable states
The documentation for this class was generated from the following file: