Public Types | Public Member Functions | Protected Member Functions | Private Attributes
SearchEngine Class Reference

#include <search_engine.h>

Inheritance diagram for SearchEngine:
Inheritance graph
[legend]

List of all members.

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 PlanTraceget_path () const
const Planget_plan () const
virtual void initialize ()
enum status search ()
 SearchEngine ()
virtual void statistics (time_t &current_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

Detailed Description

Definition at line 6 of file search_engine.h.


Member Enumeration Documentation

Enumerator:
SOLVED 

Found a plan.

FAILED 

No plan could be found at all, explored search space.

SOLVED_COMPLETE 

explored search space, but found a plan earlier

IN_PROGRESS 

Still searching.

FAILED_TIMEOUT 

No plan found, ran into timeout.

SOLVED_TIMEOUT 

Found a plan, but not explored search space.

Definition at line 14 of file search_engine.h.


Constructor & Destructor Documentation

Definition at line 8 of file search_engine.cpp.

Definition at line 14 of file search_engine.cpp.


Member Function Documentation

virtual void SearchEngine::dump_everything ( ) const [pure virtual]

Implemented in BestFirstSearchEngine.

Definition at line 27 of file search_engine.cpp.

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.

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.


Member Data Documentation

Definition at line 12 of file search_engine.h.

Definition at line 11 of file search_engine.h.

bool SearchEngine::solved [private]

Definition at line 9 of file search_engine.h.

Definition at line 10 of file search_engine.h.


The documentation for this class was generated from the following files:


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Mon Oct 6 2014 07:52:06