#include <searchEngine.h>
Public Member Functions | |
virtual StateBase * | registerRootState (size_t size, unsigned int childnum, unsigned int totalNumChildren)=0 |
virtual StateBase * | registerState (size_t size, unsigned int childnum, unsigned int totalNumChildren)=0 |
virtual void | process (StateBase *state)=0 |
virtual void | deleteState (StateBase *state)=0 |
virtual void | setParentInfo (SearchNodeMsg *msg, int l)=0 |
virtual void | reportSolution () |
virtual void | setPriority (StateBase *state, int p)=0 |
void | updateCost (double c) |
Protected Attributes | |
UShort | parentBits |
unsigned int * | parentPtr |
int | searchLevel |
Definition at line 41 of file searchEngine.h.
virtual StateBase* Solver::registerRootState | ( | size_t | size, | |
unsigned int | childnum, | |||
unsigned int | totalNumChildren | |||
) | [pure virtual] |
Implemented in ParallelSolver, and SequentialSolver.
virtual StateBase* Solver::registerState | ( | size_t | size, | |
unsigned int | childnum, | |||
unsigned int | totalNumChildren | |||
) | [pure virtual] |
Implemented in ParallelSolver, and SequentialSolver.
virtual void Solver::process | ( | StateBase * | state | ) | [pure virtual] |
Implemented in ParallelSolver, and SequentialSolver.
virtual void Solver::deleteState | ( | StateBase * | state | ) | [pure virtual] |
Implemented in ParallelSolver, and SequentialSolver.
Referenced by SequentialSolver::process(), and ParallelSolver::process().
virtual void Solver::setParentInfo | ( | SearchNodeMsg * | msg, | |
int | l | |||
) | [pure virtual] |
Implemented in ParallelSolver, and SequentialSolver.
void Solver::reportSolution | ( | ) | [inline, virtual] |
Reimplemented in SequentialSolver.
Definition at line 212 of file searchEngine_impl.h.
References CkExit(), and groupProxy.
Referenced by SequentialSolver::reportSolution().
Implemented in ParallelSolver, and SequentialSolver.
void Solver::updateCost | ( | double | c | ) | [inline] |
UShort Solver::parentBits [protected] |
Definition at line 43 of file searchEngine.h.
Referenced by SequentialSolver::dequeue_multiple(), ParallelSolver::registerState(), SequentialSolver::setParentInfo(), and ParallelSolver::setParentInfo().
unsigned int* Solver::parentPtr [protected] |
Definition at line 44 of file searchEngine.h.
Referenced by SequentialSolver::dequeue_multiple(), ParallelSolver::registerState(), SequentialSolver::setParentInfo(), and ParallelSolver::setParentInfo().
int Solver::searchLevel [protected] |
Definition at line 45 of file searchEngine.h.
Referenced by SequentialSolver::dequeue_multiple(), ParallelSolver::registerState(), SequentialSolver::setParentInfo(), and ParallelSolver::setParentInfo().