class Gecode::IntEnum::Channel::ChannelConstraint

Public Instance Methods

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