javax.constraints
Enum VarSelector.VarSelectorType

java.lang.Object
  extended by java.lang.Enum<VarSelector.VarSelectorType>
      extended by javax.constraints.VarSelector.VarSelectorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VarSelector.VarSelectorType>
Enclosing interface:
VarSelector

public static enum VarSelector.VarSelectorType
extends java.lang.Enum<VarSelector.VarSelectorType>


Enum Constant Summary
CUSTOM
          custom variable selector
INPUT_ORDER
          selection of variables in order of definition
MAX_DEGREE
          largest number of attached constraints
MAX_IMPACT
          largest impact, select variable which when assigned restricts the domains of all other variables by the largest amount
MAX_REGRET
          largest difference between smallest and second smallest value in domain
MAX_VALUE
          largest upper bound
MAX_WEIGHTED_DEGREE
          largest number of recorded failures in attached constraints
MIN_DOMAIN
          min size of domain, tie break undefined
MIN_DOMAIN_MAX_DEGREE
          min size of domain as first criteria, tie break by degree that is the number of attached constraints
MIN_DOMAIN_MIN_VALUE
          min size of domain, random tie break
MIN_DOMAIN_OVER_DEGREE
          min value of fraction of domain size and degree
MIN_DOMAIN_OVER_WEIGHTED_DEGREE
          min value of domain size over weighted degree
MIN_DOMAIN_RANDOM
          min size of domain, random tie break
MIN_VALUE
          smallest lower bound
RANDOM
          random selection of variables
 
Method Summary
static VarSelector.VarSelectorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VarSelector.VarSelectorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CUSTOM

public static final VarSelector.VarSelectorType CUSTOM
custom variable selector


INPUT_ORDER

public static final VarSelector.VarSelectorType INPUT_ORDER
selection of variables in order of definition


MAX_DEGREE

public static final VarSelector.VarSelectorType MAX_DEGREE
largest number of attached constraints


MAX_IMPACT

public static final VarSelector.VarSelectorType MAX_IMPACT
largest impact, select variable which when assigned restricts the domains of all other variables by the largest amount


MAX_REGRET

public static final VarSelector.VarSelectorType MAX_REGRET
largest difference between smallest and second smallest value in domain


MAX_VALUE

public static final VarSelector.VarSelectorType MAX_VALUE
largest upper bound


MAX_WEIGHTED_DEGREE

public static final VarSelector.VarSelectorType MAX_WEIGHTED_DEGREE
largest number of recorded failures in attached constraints


MIN_DOMAIN

public static final VarSelector.VarSelectorType MIN_DOMAIN
min size of domain, tie break undefined


MIN_DOMAIN_MAX_DEGREE

public static final VarSelector.VarSelectorType MIN_DOMAIN_MAX_DEGREE
min size of domain as first criteria, tie break by degree that is the number of attached constraints


MIN_DOMAIN_MIN_VALUE

public static final VarSelector.VarSelectorType MIN_DOMAIN_MIN_VALUE
min size of domain, random tie break


MIN_DOMAIN_OVER_DEGREE

public static final VarSelector.VarSelectorType MIN_DOMAIN_OVER_DEGREE
min value of fraction of domain size and degree


MIN_DOMAIN_OVER_WEIGHTED_DEGREE

public static final VarSelector.VarSelectorType MIN_DOMAIN_OVER_WEIGHTED_DEGREE
min value of domain size over weighted degree


MIN_DOMAIN_RANDOM

public static final VarSelector.VarSelectorType MIN_DOMAIN_RANDOM
min size of domain, random tie break


MIN_VALUE

public static final VarSelector.VarSelectorType MIN_VALUE
smallest lower bound


RANDOM

public static final VarSelector.VarSelectorType RANDOM
random selection of variables

Method Detail

valueOf

public static VarSelector.VarSelectorType 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

values

public static VarSelector.VarSelectorType[] 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 (VarSelector.VarSelectorType c : VarSelector.VarSelectorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared