- java.lang.Object
-
- de.learnlib.util.mealy.WordAdaptiveQuery<I,O>
-
- Type Parameters:
I
- input symbol typeO
- output symbol type
- All Implemented Interfaces:
AdaptiveQuery<I,O>
public class WordAdaptiveQuery<I,O> extends Object implements AdaptiveQuery<I,O>
Wraps a given (non-empty)Word
as anAdaptiveQuery
so that it can be answered by anAdaptiveMembershipOracle
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.query.AdaptiveQuery
AdaptiveQuery.Response
-
-
Constructor Summary
Constructors Constructor Description WordAdaptiveQuery(net.automatalib.word.Word<I> query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I
getInput()
Returns the current input symbol that should be evaluated on the system under learning.net.automatalib.word.Word<O>
getOutput()
AdaptiveQuery.Response
processOutput(O out)
Processes the output of the system under learning to the latest returned input symbol.
-
-
-
Constructor Detail
-
WordAdaptiveQuery
public WordAdaptiveQuery(net.automatalib.word.Word<I> query)
-
-
Method Detail
-
getInput
public I getInput()
Description copied from interface:AdaptiveQuery
Returns the current input symbol that should be evaluated on the system under learning.- Specified by:
getInput
in interfaceAdaptiveQuery<I,O>
- Returns:
- the current input symbol
-
processOutput
public AdaptiveQuery.Response processOutput(O out)
Description copied from interface:AdaptiveQuery
Processes the output of the system under learning to the latest returned input symbol.- Specified by:
processOutput
in interfaceAdaptiveQuery<I,O>
- Parameters:
out
- the output of the system under learning- Returns:
- the next action to make
-
getOutput
public net.automatalib.word.Word<O> getOutput()
-
-