PPL Logo

SearchGroup Class Reference

#include <searchEngine_impl.h>

Inheritance diagram for SearchGroup:

Inheritance graph
[legend]
Collaboration diagram for SearchGroup:

Collaboration graph
[legend]

Public Member Functions

 SearchGroup (CkMigrateMessage *m)
 SearchGroup ()
void killSearch ()
 ~SearchGroup ()
double getStartTimer ()
void childCount (countMsg *)
void increment ()
double getCost ()
void updateCost (double c)
void inc_parallel_generate ()
void inc_parallel_consume ()
void inc_sequential_generate ()
void decrease_sequential_generate ()
void inc_sequential_consume ()
int printfStatistic ()
void sendCounts ()
long long getTotalSolutions ()
void init ()
void setParallelLevel (int level)
void searchDepthChange (int depth)
int getParallelLevel ()

Data Fields

int parallelize_level

Private Attributes

CkGroupID mygrp
long long myCount
long long totalCount
double starttimer
double minCost
int parallelnodes_generate
int parallelnodes_generate_sum
int parallelnodes_consume
int parallelnodes_consume_sum
int sequentialnodes_generate
int sequentialnodes_generate_sum
int sequentialnodes_consume
int sequentialnodes_consume_sum
int waitFor
CthThread threadId

Detailed Description

Definition at line 132 of file searchEngine_impl.h.


Constructor & Destructor Documentation

SearchGroup::SearchGroup ( CkMigrateMessage m  )  [inline]

Definition at line 158 of file searchEngine_impl.h.

SearchGroup::SearchGroup (  ) 

SearchGroup::~SearchGroup (  ) 

Definition at line 249 of file searchEngine.C.


Member Function Documentation

void SearchGroup::killSearch (  ) 

Definition at line 272 of file searchEngine.C.

References CkExit(), and groupProxy.

Here is the call graph for this function:

double SearchGroup::getStartTimer (  )  [inline]

Definition at line 163 of file searchEngine_impl.h.

References starttimer.

void SearchGroup::childCount ( countMsg m  )  [inline]

void SearchGroup::increment (  )  [inline]

Definition at line 165 of file searchEngine_impl.h.

References myCount.

double SearchGroup::getCost (  )  [inline]

Definition at line 167 of file searchEngine_impl.h.

References minCost.

Referenced by SearchNode::SearchNode().

Here is the caller graph for this function:

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

Definition at line 192 of file searchEngine.C.

References minCost.

void SearchGroup::inc_parallel_generate (  )  [inline]

Definition at line 172 of file searchEngine_impl.h.

References parallelnodes_generate.

void SearchGroup::inc_parallel_consume (  )  [inline]

Definition at line 173 of file searchEngine_impl.h.

References parallelnodes_consume.

void SearchGroup::inc_sequential_generate (  )  [inline]

Definition at line 175 of file searchEngine_impl.h.

References sequentialnodes_generate.

void SearchGroup::decrease_sequential_generate (  )  [inline]

Definition at line 176 of file searchEngine_impl.h.

References sequentialnodes_generate.

void SearchGroup::inc_sequential_consume (  )  [inline]

Definition at line 177 of file searchEngine_impl.h.

References sequentialnodes_consume.

int SearchGroup::printfStatistic (  )  [inline]

void SearchGroup::sendCounts (  )  [inline]

long long SearchGroup::getTotalSolutions (  ) 

Definition at line 241 of file searchEngine.C.

References CthSelf(), CthSuspend(), mygrp, threadId, totalCount, and waitFor.

Here is the call graph for this function:

void SearchGroup::init ( void   ) 

void SearchGroup::setParallelLevel ( int  level  )  [inline]

Definition at line 188 of file searchEngine_impl.h.

References parallelize_level.

void SearchGroup::searchDepthChange ( int  depth  )  [inline]

Definition at line 270 of file searchEngine.C.

int SearchGroup::getParallelLevel (  )  [inline]

Definition at line 191 of file searchEngine_impl.h.

References parallelize_level.


Field Documentation

Definition at line 135 of file searchEngine_impl.h.

Referenced by getTotalSolutions(), SearchGroup(), and sendCounts().

long long SearchGroup::myCount [private]

Definition at line 136 of file searchEngine_impl.h.

Referenced by increment(), SearchGroup(), and sendCounts().

long long SearchGroup::totalCount [private]

Reimplemented from CkReductionMgr.

Definition at line 137 of file searchEngine_impl.h.

Referenced by childCount(), getTotalSolutions(), and SearchGroup().

double SearchGroup::starttimer [private]

Definition at line 139 of file searchEngine_impl.h.

Referenced by getStartTimer(), and init().

double SearchGroup::minCost [private]

Definition at line 141 of file searchEngine_impl.h.

Referenced by getCost(), SearchGroup(), and updateCost().

Definition at line 144 of file searchEngine_impl.h.

Referenced by inc_parallel_generate(), SearchGroup(), and sendCounts().

Definition at line 145 of file searchEngine_impl.h.

Referenced by childCount(), printfStatistic(), and SearchGroup().

Definition at line 146 of file searchEngine_impl.h.

Referenced by inc_parallel_consume(), SearchGroup(), and sendCounts().

Definition at line 147 of file searchEngine_impl.h.

Referenced by childCount(), printfStatistic(), and SearchGroup().

Definition at line 149 of file searchEngine_impl.h.

Referenced by childCount(), printfStatistic(), and SearchGroup().

Definition at line 150 of file searchEngine_impl.h.

Referenced by inc_sequential_consume(), SearchGroup(), and sendCounts().

Definition at line 151 of file searchEngine_impl.h.

Referenced by childCount(), printfStatistic(), and SearchGroup().

Definition at line 153 of file searchEngine_impl.h.

Referenced by childCount(), getTotalSolutions(), and SearchGroup().

Definition at line 154 of file searchEngine_impl.h.

Referenced by childCount(), getTotalSolutions(), and SearchGroup().

Definition at line 156 of file searchEngine_impl.h.

Referenced by getParallelLevel(), init(), and setParallelLevel().


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

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