- java.lang.Object
-
- de.learnlib.util.mealy.PresetAdaptiveQuery<I,O>
-
- Type Parameters:
I
- input symbol typeO
- output symbol type
- All Implemented Interfaces:
AdaptiveQuery<I,O>
public class PresetAdaptiveQuery<I,O> extends Object implements AdaptiveQuery<I,O>
Wraps a given (non-empty)Query
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 PresetAdaptiveQuery(Query<I,net.automatalib.word.Word<O>> 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.AdaptiveQuery.Response
processOutput(O out)
Processes the output of the system under learning to the latest returned input symbol.
-
-
-
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
-
-