LearnTA
0.0.1
|
#include <zone_automaton.hh>
Public Member Functions | |
std::optional< TimedWord > | sample () const |
Sample a timed word in this zone automaton. More... | |
std::optional< TimedWord > | sampleWithMemo () |
void | removeDeadStates () |
Remove dead states, i.e., unreachable to any of the accepting states. | |
![]() | |
std::size_t | stateSize () const |
Returns the number of the states. | |
bool | operator== (const Automaton< ZAState > &A) const |
Check the equivalence of two automata. | |
Public Attributes | |
std::optional< TimedWord > | sampleMemo |
![]() | |
std::vector< std::shared_ptr< ZAState > > | states |
The states of this automaton. | |
std::vector< std::shared_ptr< ZAState > > | initialStates |
The initial states of this automaton. | |
A Zone automaton.
|
inline |
Sample a timed word in this zone automaton.
We use the reconstruction algorithm in [Andre+, NFM'22]