class Gecode::SetEnum::Channel::IntEnumChannelConstraint

Public Instance Methods

post() click to toggle source
# File doc/tmp/rdoc_dev/gecoder/interface/constraints/set_enum/channel.rb, line 38
def post
  lhs, rhs = @params.values_at(:lhs, :rhs)
  Gecode::Raw::channel(@model.active_space, rhs.to_int_enum.bind_array, 
    lhs.to_set_enum.bind_array)
end