Enum LocalSearchMetaheuristic.Value

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<LocalSearchMetaheuristic.Value>
    Enclosing class:
    LocalSearchMetaheuristic

    public static enum LocalSearchMetaheuristic.Value
    extends java.lang.Enum<LocalSearchMetaheuristic.Value>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum operations_research.LocalSearchMetaheuristic.Value
    • Enum Constant Detail

      • UNSET

        public static final LocalSearchMetaheuristic.Value UNSET
         Means "not set". If the solver sees that, it'll behave like for
         AUTOMATIC. But this value won't override others upon a proto MergeFrom(),
         whereas "AUTOMATIC" will.
         
        UNSET = 0;
      • GREEDY_DESCENT

        public static final LocalSearchMetaheuristic.Value GREEDY_DESCENT
         Accepts improving (cost-reducing) local search neighbors until a local
         minimum is reached.
         
        GREEDY_DESCENT = 1;
      • GUIDED_LOCAL_SEARCH

        public static final LocalSearchMetaheuristic.Value GUIDED_LOCAL_SEARCH
         Uses guided local search to escape local minima
         (cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally
         the most efficient metaheuristic for vehicle routing.
         
        GUIDED_LOCAL_SEARCH = 2;
      • SIMULATED_ANNEALING

        public static final LocalSearchMetaheuristic.Value SIMULATED_ANNEALING
         Uses simulated annealing to escape local minima
         (cf. http://en.wikipedia.org/wiki/Simulated_annealing).
         
        SIMULATED_ANNEALING = 3;
      • TABU_SEARCH

        public static final LocalSearchMetaheuristic.Value TABU_SEARCH
         Uses tabu search to escape local minima
         (cf. http://en.wikipedia.org/wiki/Tabu_search).
         
        TABU_SEARCH = 4;
      • GENERIC_TABU_SEARCH

        public static final LocalSearchMetaheuristic.Value GENERIC_TABU_SEARCH
         Uses tabu search on a list of variables to escape local minima. The list
         of variables to use must be provided via the SetTabuVarsCallback
         callback.
         
        GENERIC_TABU_SEARCH = 5;
    • Field Detail

      • UNSET_VALUE

        public static final int UNSET_VALUE
         Means "not set". If the solver sees that, it'll behave like for
         AUTOMATIC. But this value won't override others upon a proto MergeFrom(),
         whereas "AUTOMATIC" will.
         
        UNSET = 0;
        See Also:
        Constant Field Values
      • AUTOMATIC_VALUE

        public static final int AUTOMATIC_VALUE
         Lets the solver select the metaheuristic.
         
        AUTOMATIC = 6;
        See Also:
        Constant Field Values
      • GREEDY_DESCENT_VALUE

        public static final int GREEDY_DESCENT_VALUE
         Accepts improving (cost-reducing) local search neighbors until a local
         minimum is reached.
         
        GREEDY_DESCENT = 1;
        See Also:
        Constant Field Values
      • GUIDED_LOCAL_SEARCH_VALUE

        public static final int GUIDED_LOCAL_SEARCH_VALUE
         Uses guided local search to escape local minima
         (cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally
         the most efficient metaheuristic for vehicle routing.
         
        GUIDED_LOCAL_SEARCH = 2;
        See Also:
        Constant Field Values
      • SIMULATED_ANNEALING_VALUE

        public static final int SIMULATED_ANNEALING_VALUE
         Uses simulated annealing to escape local minima
         (cf. http://en.wikipedia.org/wiki/Simulated_annealing).
         
        SIMULATED_ANNEALING = 3;
        See Also:
        Constant Field Values
      • TABU_SEARCH_VALUE

        public static final int TABU_SEARCH_VALUE
         Uses tabu search to escape local minima
         (cf. http://en.wikipedia.org/wiki/Tabu_search).
         
        TABU_SEARCH = 4;
        See Also:
        Constant Field Values
      • GENERIC_TABU_SEARCH_VALUE

        public static final int GENERIC_TABU_SEARCH_VALUE
         Uses tabu search on a list of variables to escape local minima. The list
         of variables to use must be provided via the SetTabuVarsCallback
         callback.
         
        GENERIC_TABU_SEARCH = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static LocalSearchMetaheuristic.Value[] 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 (LocalSearchMetaheuristic.Value c : LocalSearchMetaheuristic.Value.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LocalSearchMetaheuristic.Value valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static LocalSearchMetaheuristic.Value valueOf​(int value)
        Deprecated.
        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:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static LocalSearchMetaheuristic.Value forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static LocalSearchMetaheuristic.Value valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null