#include <idastar.h>
Public Member Functions | |
idaStarGroup (problem *issue, int startdepth, int maxdepth, int stride, int window, int charesize, int serialdist, CkCallback finished) | |
~idaStarGroup () | |
void | ChildFinished (int dummy) |
void | ReductionResults (CkReductionMsg *m) |
void | SolutionFound (problem *soln) |
void | SpawnIteration () |
void | Terminate () |
Data Fields | |
unsigned int | NodesExpanded |
unsigned int | CharesExpanded |
problem * | Issue |
problem * | Solution |
unsigned int | BestSolutionDepth |
CkCallback | Finished |
int | StartDepth |
int | CurrentDepth |
int | MaxDepth |
int | Stride |
int | Running |
int | ChareSize |
int | SerialDist |
Protected Member Functions | |
void | Launch (problem *it, int maxdepth, int charesize, int serialdist) |
Friends | |
class | idaStarWorker |
Definition at line 46 of file idastar.h.
idaStarGroup::idaStarGroup | ( | problem * | issue, | |
int | startdepth, | |||
int | maxdepth, | |||
int | stride, | |||
int | window, | |||
int | charesize, | |||
int | serialdist, | |||
CkCallback | finished | |||
) |
Definition at line 195 of file idastar.C.
References CurrentDepth, Issue, MaxDepth, problem::Root, and SpawnIteration().
idaStarGroup::~idaStarGroup | ( | ) |
Definition at line 229 of file idastar.C.
References Converse::CkMyPe(), and problem::Priority.
Referenced by idaStarWorker::idaStarWorker(), and SpawnIteration().
void idaStarGroup::ChildFinished | ( | int | dummy | ) |
Definition at line 250 of file idastar.C.
References CharesExpanded, CurrentDepth, MaxDepth, NodesExpanded, Running, Solution, SpawnIteration(), and CkReduction::sum_int.
void idaStarGroup::ReductionResults | ( | CkReductionMsg * | m | ) |
Definition at line 275 of file idastar.C.
References searchResults::CharesExpanded, Finished, CkReductionMsg::getData(), searchResults::GroupID, searchResults::NodesExpanded, CkCallback::send(), and values.
void idaStarGroup::SolutionFound | ( | problem * | soln | ) |
Definition at line 291 of file idastar.C.
References BestSolutionDepth, problem::depth(), and Solution.
void idaStarGroup::SpawnIteration | ( | ) |
Definition at line 308 of file idastar.C.
References ChareSize, ckerr, Converse::CkMyPe(), CkBitVector::Clear(), problem::clone(), CkBitVector::Concat(), CurrentDepth, endl(), CkBitVector::ilog2(), Issue, Launch(), problem::Priority, CkBitVector::Resize(), Running, SerialDist, CkBitVector::Set(), StartDepth, and Stride.
Referenced by ChildFinished(), and idaStarGroup().
friend class idaStarWorker [friend] |
unsigned int idaStarGroup::NodesExpanded |
Definition at line 49 of file idastar.h.
Referenced by ChildFinished(), and idaStarWorker::idaStarWorker().
unsigned int idaStarGroup::CharesExpanded |
Definition at line 49 of file idastar.h.
Referenced by ChildFinished(), and idaStarWorker::idaStarWorker().
Definition at line 50 of file idastar.h.
Referenced by idaStarGroup(), SpawnIteration(), and ~idaStarGroup().
Definition at line 51 of file idastar.h.
Referenced by ChildFinished(), SolutionFound(), searchResults::unpack(), and ~idaStarGroup().
unsigned int idaStarGroup::BestSolutionDepth |
Definition at line 52 of file idastar.h.
Referenced by idaStarWorker::idaStarWorker(), and SolutionFound().
Definition at line 54 of file idastar.h.
Referenced by ChildFinished(), idaStarGroup(), and SpawnIteration().