Sharing cache between adaptive learners and equivalence oracles #136
Replies: 2 comments 10 replies
-
Dear @stateMachinist, recently the ADT learner has been switched to
|
Beta Was this translation helpful? Give feedback.
-
I've taken another look at the new class hierarchy. In my example, it is the SULAdaptiveOracle wrapping the cache. I saw that SULAdaptiveOracle implements SingleAdaptiveMembershipOracle, which also has processQueries, but does not perform query sorting. Wouldn't the simplest solution be to always perform query sorting in the default implementation of processQueries for Mealy machine oracles? This way, oracle setup would remain the same and you would never lose performance by accident if you forgot to plug in that sorting filter. |
Beta Was this translation helpful? Give feedback.
-
In LearnLib 0.17, there was a SULSymbolQueryOracle which extended MembershipOracle and it was possible to share a cache between an ADTLearner and an equivalence oracle by using SymbolQueryCache. I just saw that this cache does not exist anymore. And instead of SULSymbolQueryOracle, there is now a SULAdaptiveOracle which does not extend MembershipOracle. I am confused by these changes. Is it still possible to have cache sharing for adaptive learners without resorting to custom implementations?
Beta Was this translation helpful? Give feedback.
All reactions