Dear Guo,
since the DFARandomWpMethodEQOracle uses (partially) randomly generated
words, you never really finish generating test words -- there always
exists a next random word. In the worst-case, when you have already
learned the final hypothesis, i.e., the exist no more counterexamples, the
DFARandomWpMethodEQOracle would generate test words indefinitely. With the
"bound" parameter, you can limit how many test words you want to generate
at maximum.
With the "batchSize" parameter, you can decide how many test words are
sent to the membership oracle at once. This is usually only useful when
you are using parallel membership oracles that can split the batches to
different SUL instances. If you are using a single-threaded environment
(i.e., a single membership oracle instance) you can ignore this parameter.
If you are unsure about what the code does, remember that LearnLib is
open-source and we publish our source-archives to Maven central as well.
Most IDEs allow you automatically download and open the source archives so
that you can jump directly to the actual code and do not have to look at
pre-compiled bytecode.
Kind regards,
Markus
Am Do, 9.09.2021, 09:15 schrieb guo guo:
> Dear Markus,
>
> I want to call DFARandomWpMethodEQOracle, but I don't understand the
> meaning of the parameters. What is bound? What does "specify the bound"
> mean? What is batchsize? Can you give me an example? Or where can I know?
> What should I do if I want to rewrite the equivalent query? Thank you
> again
> for your helpful answer!
>
> Sincerely?
> Guo