#include <search_engine.h>

Public Types | |
| enum | status { SOLVED, FAILED, SOLVED_COMPLETE, IN_PROGRESS, FAILED_TIMEOUT, SOLVED_TIMEOUT } |
Public Member Functions | |
| virtual void | dump_everything () const =0 |
| bool | found_at_least_one_solution () const |
| bool | found_solution () const |
| const PlanTrace & | get_path () const |
| const Plan & | get_plan () const |
| virtual void | initialize () |
| enum status | search () |
| SearchEngine () | |
| virtual void | statistics (time_t ¤t_time) const |
| virtual | ~SearchEngine () |
Protected Member Functions | |
| void | set_path (const PlanTrace &states) |
| void | set_plan (const Plan &plan) |
| virtual enum status | step ()=0 |
Private Attributes | |
| PlanTrace | path |
| Plan | plan |
| bool | solved |
| bool | solved_at_least_once |
Definition at line 6 of file search_engine.h.
| enum SearchEngine::status |
Definition at line 14 of file search_engine.h.
Definition at line 8 of file search_engine.cpp.
| SearchEngine::~SearchEngine | ( | ) | [virtual] |
Definition at line 14 of file search_engine.cpp.
| virtual void SearchEngine::dump_everything | ( | ) | const [pure virtual] |
Implemented in BestFirstSearchEngine.
| bool SearchEngine::found_at_least_one_solution | ( | ) | const |
Definition at line 27 of file search_engine.cpp.
| bool SearchEngine::found_solution | ( | ) | const |
Definition at line 22 of file search_engine.cpp.
| const PlanTrace & SearchEngine::get_path | ( | ) | const |
Definition at line 45 of file search_engine.cpp.
| const Plan & SearchEngine::get_plan | ( | ) | const |
Definition at line 32 of file search_engine.cpp.
| virtual void SearchEngine::initialize | ( | ) | [inline, virtual] |
Reimplemented in BestFirstSearchEngine.
Definition at line 32 of file search_engine.h.
| enum SearchEngine::status SearchEngine::search | ( | ) |
Definition at line 60 of file search_engine.cpp.
| void SearchEngine::set_path | ( | const PlanTrace & | states | ) | [protected] |
Definition at line 51 of file search_engine.cpp.
| void SearchEngine::set_plan | ( | const Plan & | plan | ) | [protected] |
Definition at line 38 of file search_engine.cpp.
| void SearchEngine::statistics | ( | time_t & | current_time | ) | const [virtual] |
Definition at line 18 of file search_engine.cpp.
| virtual enum status SearchEngine::step | ( | ) | [protected, pure virtual] |
Implemented in BestFirstSearchEngine.
PlanTrace SearchEngine::path [private] |
Definition at line 12 of file search_engine.h.
Plan SearchEngine::plan [private] |
Definition at line 11 of file search_engine.h.
bool SearchEngine::solved [private] |
Definition at line 9 of file search_engine.h.
bool SearchEngine::solved_at_least_once [private] |
Definition at line 10 of file search_engine.h.