Skip to content

Adds two randomized equivalence oracles based on the W method - #40

Merged
abainczyk merged 2 commits into
LearnLib:developfrom
Jaxan:randomized-eq-oracles
Oct 27, 2016
Merged

Adds two randomized equivalence oracles based on the W method#40
abainczyk merged 2 commits into
LearnLib:developfrom
Jaxan:randomized-eq-oracles

Conversation

@Jaxan

@Jaxan Jaxan commented Aug 29, 2016

Copy link
Copy Markdown
Contributor

Here is my implementation of the randomized W/Wp method. It is more successful in finding counter examples than the current W/Wp methods in learnlib, but they do not provide any completeness guarantees. (Of course it is also more efficient than just a random walk.)

I have some concerns with the current state of affairs. In particular I found it annoying that I had to implement execution of tests and a bound in each equivalence oracle. I think that this can be decoupled, in order to make more generic testing oracles which can be reused. I will open a separate issue to discuss this.

In the meantime, this patch works, and provides a nice utility. I noticed that it is not consistent with the current naming, but I don't really like the current naming (all oracles ends with EQracle...)

Maybe it is a good time to add better support for testing oracles
@Jaxan

Jaxan commented Aug 29, 2016

Copy link
Copy Markdown
Contributor Author

See #41 for some thought on testing equivalence oracles.

@abainczyk

Copy link
Copy Markdown
Contributor

I would like to keep the naming of the classes consistent for now. If we remove the suffix "EQOracle", we would have to do it everywhere and would end up with things like "new SampleSet(...)" and this does not really reveal what the class is doing. Beside that, I don't see a reason why this should not be merged.

@Jaxan

Jaxan commented Oct 27, 2016

Copy link
Copy Markdown
Contributor Author

I renamed the classes to end on EQOracle.

@abainczyk
abainczyk merged commit 7dabaf2 into LearnLib:develop Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants