Module: Gecode::Constraints::Set::Util

Defined in:
lib/gecoder/interface/constraints/set_var_constraints.rb

Overview

Utility methods for sets.

Class Method Summary collapse

Class Method Details

.decode_options(options) ⇒ Object



24
25
26
27
28
29
30
# File 'lib/gecoder/interface/constraints/set_var_constraints.rb', line 24

def decode_options(options)
  if options.has_key? :strength
    raise ArgumentError, 'Set constraints do not support the strength ' +
      'option.'
  end
  Gecode::Constraints::Util.decode_options(options)
end