module Gecode::Set::Util

Utility methods for sets.

Public Instance Methods

decode_options(options) click to toggle source
# File doc/tmp/rdoc_dev/gecoder/interface/constraints/set_var_constraints.rb, line 222
def decode_options(options)
  if options.has_key? :strength
    raise ArgumentError, 'Set constraints do not support the strength ' +
      'option.'
  end
  if options.has_key? :kind
    raise ArgumentError, 'Set constraints do not support the kind ' +
      'option.'
  end
  
  Gecode::Util.decode_options(options)
end