Hi George,
this one is nasty ;). Since your output domain has the same type as your input traces (Word<String>), calling the constructor DefaultQuery(Word<String>, Word<String>) maps to the DefaultQuery(prefix, suffix) constructor, i.e. your query objects don't have an output value.
In order to use the second parameter as the output of the query, you would have to call the DefaultQuery(prefix, suffix, output) constructor, i.e.
```java
private static Collection<DefaultQuery<String, Word<String>>> getMealySample() {
return Arrays.asList(
new DefaultQuery<>(Word.epsilon(), Word.fromSymbols("alpha", "beta"), Word.fromSymbols("1", "2")),
new DefaultQuery<>(Word.epsilon(), Word.fromSymbols("beta", "alpha"), Word.fromSymbols("3", "4")),
new DefaultQuery<>(Word.epsilon(), Word.fromSymbols("alpha", "alpha"), Word.fromSymbols("1", "4")),
new DefaultQuery<>(Word.epsilon(), Word.fromSymbols("beta", "beta"), Word.fromSymbols("3", "2"))
);
}
```
Kind regards,
Markus
> --
> You received this message because you are subscribed to the Google Groups "LearnLib Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
learnlib-qa...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/learnlib-qa/095a2814-9c8f-4957-b111-7ee9baba05d9%40googlegroups.com.