Sha256: dd5218b57408bf4a55c8eac54becd0df97f34fa32fdca7d923fee542b94cbe67

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

module Gecode
  class FreeBoolVar
    include Gecode::Constraints::LeftHandSideMethods
    
    private
    
    # Produces an expression for the lhs module.
    def expression(params)
      params.update(:lhs => self)
      Constraints::Bool::Expression.new(@model, params)
    end
  end
  
  # A module containing constraints that have int variables as left hand side
  # (but not enumerations).
  module Constraints::Bool
    # Describes a boolean expression.
    class Expression < Gecode::Constraints::Expression
    end
  end
end

require 'gecoder/interface/constraints/bool/boolean'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gecoder-0.3.0 lib/gecoder/interface/constraints/bool_var_constraints.rb
gecoder-0.4.0 lib/gecoder/interface/constraints/bool_var_constraints.rb