Sha256: 0aca99c5f387c891eaf03ee7b8f8cf23d3ab834ae017b13b0dd9a93173676b8f

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require 'prop_logic'
require 'minisat'
require 'prop_logic/minisat/version'
require 'prop_logic/minisat/incremental_solver'

module PropLogic
  module Minisat
    module Solver
      def self.call(term)
        IncrementalSolver.new(term).sat?
      end
    end
  end
  PropLogic.sat_solver = Minisat::Solver
  PropLogic.incremental_solver = Minisat::IncrementalSolver
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop_logic-minisat-0.2.0 lib/prop_logic/minisat.rb