Sha256: 604a7485a2c4faa9b423837ffec3bddbe5b453339cdb6579324aaac3160c93f3

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

module Gecode::Constraints::Bool
  class Expression
    # Constrains the boolean variable to be equal to the specified integer 
    # variable.
    provide_commutivity(:==){ |rhs, _| rhs.kind_of?(Gecode::FreeIntVar) }
    alias_comparison_methods
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
gecoder-with-gecode-0.8.3-mswin32 lib/gecoder/interface/constraints/bool/channel.rb
gecoder-0.8.3 lib/gecoder/interface/constraints/bool/channel.rb
gecoder-with-gecode-0.8.3 lib/gecoder/interface/constraints/bool/channel.rb