Sha256: 439b296d21a96fff0a3695da7ac8cea935f23752d78c5b75a3ea84238453f277
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
require "tabu_search/version" require "tabu_search/context" module TabuSearch def self.included(cls) cls.extend(TabuSearch::ClassMethods) end module ClassMethods def new_ts_ctx(tabu_size) TabuSearch::Context.new(tabu_size) end def tabu_search(unit, times, tabu_size) new_ts_ctx(tabu_size).search(unit, times) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tabu_search-0.1.1 | lib/tabu_search.rb |
tabu_search-0.1.0 | lib/tabu_search.rb |