Hi there,
I am working on my diploma thesis with the title Automatic Construction of Checking Circuits Based on Finite Automata. I would like to use LearnLib connected with ModelSim simulator in order to infer a VHDL design.
I have been using the former closed-source version of LearnLib for some time. Now, I switched to the open-source which I find more convenient in terms of possible further research on this topic at our faculty.
I would like to ask some questions. I have adjusted example2 (BoundedStringQueue) to my needs. I am working with a simple SUL which I was able to learn with the former Learnlib using ObservationPack and WMethodEquivalenceTest. When I use caching, the execution finishes with the following exception:
net.automatalib.incremental.ConflictException: Error inserting execute_symbol[0] execute_symbol[0] / 1 1: Incompatible output symbols: 1 vs 0
at net.automatalib.incremental.mealy.IncrementalMealyBuilder.insert(IncrementalMealyBuilder.java:197)
at de.learnlib.cache.sul.SULCache.reset(SULCache.java:28)
at de.learnlib.oracles.SULOracle.answerQuery(SULOracle.java:39)
at de.learnlib.oracles.SULOracle.answerQuery(SULOracle.java:29)
at de.learnlib.oracles.MQUtil.answerQueries(MQUtil.java:51)
at de.learnlib.oracles.AbstractSingleQueryOracle.processQueries(AbstractSingleQueryOracle.java:35)
at de.learnlib.algorithms.lstargeneric.table.ObservationTable.initialize(ObservationTable.java:145)
at de.learnlib.algorithms.lstargeneric.AbstractLStar.startLearning(AbstractLStar.java:74)
at de.learnlib.experiments.Experiment$ExperimentImpl.run(Experiment.java:75)
at de.learnlib.experiments.Experiment.run(Experiment.java:128)
at diplomka.example.EasyLearner.main(EasyLearner.java:144)
I tried to run the learning without caching (by setting mqOracle to SUL<...> sul). It has been running for more than an hour and gave no result so I shut the execution down. Former version inferred the model within 30 seconds. What am I doing wrong? Can you please give me some tips how to set the learning?
Another problem I am dealing with is, I cannot construct any other learning algorithm than ExtensibleLStarMealy. For instance, I found MealyDHC class in the API, but I am not able to import de.learnlib.algorithms.dhc. I am using NetBeans and I have created the maven project in command prompt (LearnLib version 0.9.1). I am a little confused with git/API and maven source code versions. How accurate is the API and does it somehow correspond with the source maven is using?
Regards,
Lucie