LearnTA
0.0.1
|
Wrapper of an equivalence oracle to cache the queries. More...
#include <equivalence_oracle_memo.hh>
Public Member Functions | |
EquivalenceOracleMemo (std::unique_ptr< EquivalenceOracle > &&oracle, const TimedAutomaton &target) | |
std::optional< TimedWord > | findCounterExample (const TimedAutomaton &hypothesis) override |
Make an equivalence query. | |
std::ostream & | printStatistics (std::ostream &stream) const override |
Print the statistics. | |
![]() | |
std::size_t | numEqQueries () const |
Return the number of the executed equivalence queries. | |
Additional Inherited Members | |
![]() | |
std::size_t | eqQueryCount = 0 |
Wrapper of an equivalence oracle to cache the queries.
This class memorizes all the previous counterexamples returned by the wrapped equivalence oracle. The memorized inputs are used to check the equivalence by testing before using the actual equivalence oracle.