Sha256: 9c7647c20d047a3cb907243e4722079432243ee1a287401361a86b20f9680e12

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 Bytes

Contents

require 'set'

module Dither

  class Error < StandardError; end

  def self.all_pairs(params, t = 2, opts = {})
    IPOG.new(params, t, opts).run
  end

  def self.mipog(params, t = 2, opts = {})
    raise Error, 'mipog does not support constraints' if opts.key?(:constraints)
    MIPOG.new(params, t, opts).run
  end
end # Dither

require 'dither/param'
require 'dither/unbound_param'
require 'dither/test_case'
require 'dither/ipog_helper'
require 'dither/ipog'
require 'dither/mipog'

if RUBY_PLATFORM =~ /java/
  require 'java'
  require 'dither.jar'

  require 'dither/java_ext/dither'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dither-0.0.8-java lib/dither.rb
dither-0.0.8 lib/dither.rb