Module: Gecode::FixnumEnumMethods
- Defined in:
- lib/gecoder/interface/enum_wrapper.rb,
lib/gecoder/interface/constraints/set/operation.rb,
lib/gecoder/interface/constraints/int_enum/element.rb
Overview
A module containing the methods needed by enumerations containing fixnums. Requires that it’s included in an enumerable.
Instance Attribute Summary
Attributes included from EnumMethods
Instance Method Summary collapse
-
#domain_range ⇒ Object
Returns the smallest range that contains the domains of all integer variables involved.
Methods included from Constraints::IntEnum::Element::AdditionalEnumMethods
Methods included from EnumMethods
Instance Method Details
#domain_range ⇒ Object
Returns the smallest range that contains the domains of all integer variables involved.
149 150 151 |
# File 'lib/gecoder/interface/enum_wrapper.rb', line 149 def domain_range min..max end |