- java.lang.Object
-
- java.lang.Enum<AdaptiveQuery.Response>
-
- de.learnlib.query.AdaptiveQuery.Response
-
- All Implemented Interfaces:
Serializable
,Comparable<AdaptiveQuery.Response>
- Enclosing interface:
- AdaptiveQuery<I,O>
public static enum AdaptiveQuery.Response extends Enum<AdaptiveQuery.Response>
The different types of responses when processing outputs from the system under learning.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdaptiveQuery.Response
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdaptiveQuery.Response[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FINISHED
public static final AdaptiveQuery.Response FINISHED
Indicates that the query is finished and no more symbols should be processed. After returning this value, the behavior ofAdaptiveQuery.getInput()
is undefined and may as well throw an exception.
-
RESET
public static final AdaptiveQuery.Response RESET
Indicates that the system under learning should be reset to its initial state. After returning this value,AdaptiveQuery.getInput()
must return the next input symbol that should be queried after the reset.
-
SYMBOL
public static final AdaptiveQuery.Response SYMBOL
Indicates that further symbols follow. After returning this value,AdaptiveQuery.getInput()
must return the next input symbol that should be queried.
-
-
Method Detail
-
values
public static AdaptiveQuery.Response[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdaptiveQuery.Response c : AdaptiveQuery.Response.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdaptiveQuery.Response valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-