Sha256: e6cb8a33618d575cdc76370b7a4eb7c037a42d057f1501472e1eb8f75b8c7165
Contents?: true
Size: 1006 Bytes
Versions: 4
Compression:
Stored size: 1006 Bytes
Contents
require 'set' module Dither class Error < StandardError; end DEFUALT_OPTS = { :t => 2 } # deprecated def self.all_pairs(params, t = 2, opts = {}) opts[:t] = t IPOG.new(params, opts).run end def self.ipog(params, opts = {}) opts = DEFUALT_OPTS.dup.merge(opts) IPOG.new(params, opts).run end def self.mipog(params, t = 2, opts = {}) raise Error, 'mipog does not support constraints' if opts.key?(:constraints) opts[:t] = t MIPOG.new(params, opts).run end def self.ateg(params, opts = {}) opts = DEFUALT_OPTS.dup.merge(opts) Ateg::Pairwise.new(params, 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' require 'dither/chinese_postman_problem' require 'dither/ateg' require 'dither/ateg_pairwise' if RUBY_PLATFORM =~ /java/ require 'java' require 'dither.jar' require 'dither/java_ext/dither' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dither-0.0.13-java | lib/dither.rb |
dither-0.0.13 | lib/dither.rb |
dither-0.0.12-java | lib/dither.rb |
dither-0.0.12 | lib/dither.rb |