Interface Indomain<T extends Var>

Type Parameters:
T - type of variable for which the assignment value is being generated.
All Known Implementing Classes:
IndomainDefaultValue, IndomainHierarchical, IndomainList, IndomainMax, IndomainMedian, IndomainMiddle, IndomainMin, IndomainRandom, IndomainSetMax, IndomainSetMin, IndomainSetRandom, IndomainSimpleRandom

public interface Indomain<T extends Var>
Defines a interface for different indomain enumeration methods.
Version:
4.10
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    indomain(T var)
    It returns value within a variable which should be used in current assignment.
  • Method Details

    • indomain

      int indomain(T var)
      It returns value within a variable which should be used in current assignment. This function only returns value, it is not required to do any changes to variable, its domain, etc.
      Parameters:
      var - defines variable for which value for assignment is suggested.
      Returns:
      defines value for current assignment.