Enum AdaptiveQuery.Response

    • 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 of AdaptiveQuery.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.
    • 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 name
        NullPointerException - if the argument is null