-
I have been studying a custom class automaton by referring to java/de/learnlib/example/Example2.java. I would like to know if it is possible to include system state information in the generated state nodes. For example, at a certain node, I would like to display the values of certain variables in the system. For instance, at the initial node, there are two variables A and B, and their values are false. After transitioning to another node, let's say A is true and B is false. Assuming that I can access the values of A and B in the system, how can I incorporate these values into the nodes? In addition to my previous question, I would like to know which parts of my code can be modified. Specifically, I do not want to instrument a pre-defined class and instead, I want to simulate the interaction of inputs and outputs in a black-box system. How can I achieve this and incorporate the results into my algorithm/code? Without a detailed documentation, I am unsure about how to make customized modifications and adaptations. Could you please provide guidance on how to achieve this? Below is my code and the results:
Results:
Thank you for your assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
To your first question: It sounds like a Moore machine would suite your scenario better than a Mealy machine. Your state outputs would then be of a more complex class (than, e.g., A combined approach for general To your second question: The learning algorithms and (most of the) equivalence oracles only require a |
Beta Was this translation helpful? Give feedback.
To your first question: It sounds like a Moore machine would suite your scenario better than a Mealy machine. Your state outputs would then be of a more complex class (than, e.g.,
String
). For example,Set<P>
orList<P>
whereP
denotes the type of your proposition variables.A combined approach for general
UniversalDeterministicAutomaton
s (with transition outputs and state outputs) is currently not provided by LearnLib. It should be possible to implemented it yourself, but you would have to implement some of the internal work of the algorithms as well (e.g., for L*, the management of the observation table and the hypothesis construction).To your second question: The learning algorithms a…