PPL Logo

Solver Class Reference

#include <searchEngine.h>

Inheritance diagram for Solver:

Inheritance graph
[legend]
Collaboration diagram for Solver:

Collaboration graph
[legend]

Public Member Functions

virtual StateBaseregisterRootState (size_t size, unsigned int childnum, unsigned int totalNumChildren)=0
virtual StateBaseregisterState (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 intparentPtr
int searchLevel

Detailed Description

Definition at line 41 of file searchEngine.h.


Member Function Documentation

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void Solver::setPriority ( StateBase state,
int  p 
) [pure virtual]

Implemented in ParallelSolver, and SequentialSolver.

void Solver::updateCost ( double  c  )  [inline]

Definition at line 227 of file searchEngine_impl.h.

References groupProxy.


Field Documentation

unsigned int* Solver::parentPtr [protected]

int Solver::searchLevel [protected]


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

Generated on Mon Sep 21 08:29:57 2020 for Charm++ by  doxygen 1.5.5