module TabuSearch::ClassMethods
Public Instance Methods
new_ts_ctx(tabu_size)
click to toggle source
# File lib/tabu_search.rb, line 10 def new_ts_ctx(tabu_size) TabuSearch::Context.new(tabu_size) end
tabu_search(unit, times, tabu_size)
click to toggle source
# File lib/tabu_search.rb, line 14 def tabu_search(unit, times, tabu_size) new_ts_ctx(tabu_size).search(unit, times) end