class Gecode::Int::Channel::ChannelConstraint

Public Instance Methods

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