Class: Longjing::Search::FFGreedy
- Defined in:
- lib/longjing/search/ff_greedy.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from FF
#breadth_first, #distance, #greedy_search, #hill_climbing, #init
Methods inherited from Base
#initialize, #log_progress, #log_solution, #no_solution, #reset_best_heuristic, #solution
Methods included from Logging
Constructor Details
This class inherits a constructor from Longjing::Search::Base
Instance Method Details
#search(problem) ⇒ Object
21 22 23 24 25 |
# File 'lib/longjing/search/ff_greedy.rb', line 21 def search(problem) log { 'FF greedy search starts' } init(problem) greedy_search end |