Kernel: Python 3
automaton.accessible
Create a new automaton from the accessible part of the input, i.e., the subautomaton whose states can be reached from an initial state.
Preconditions:
None
Postconditions:
Result.is_accessible()
See also:
Examples
In [1]:
The following automaton has one unreachable state:
In [2]:
In [3]:
False
Calling accessible
returns a copy of the automaton without non-accessible states:
In [4]:
In [5]:
True