
#include <BroadcastStrategy.h>


Public Member Functions | |
| BroadcastStrategy (int topology=USE_HYPERCUBE) | |
| BroadcastStrategy (CkArrayID aid, int topology=USE_HYPERCUBE) | |
| BroadcastStrategy (CkMigrateMessage *m) | |
| void | insertMessage (MessageHolder *msg) |
| Called for each message. | |
| void | insertMessage (CharmMessageHolder *msg) |
| void | handleMessage (void *msg) |
| Called when a message is received in the strategy handler. | |
| virtual void | pup (PUP::er &p) |
| PUPable_decl (BroadcastStrategy) | |
Private Member Functions | |
| void | initHypercube () |
| void | handleTree (void *msg) |
| void | handleHypercube (void *msg) |
Private Attributes | |
| int | _topology |
| int | spanning_factor |
| double | logp |
This stategy will only work for groups. This strategy implements a tree based broadcast
Developed by Sameer Kumar 04/10/04
Definition at line 26 of file BroadcastStrategy.h.
| BroadcastStrategy::BroadcastStrategy | ( | CkMigrateMessage * | m | ) | [inline] |
Definition at line 43 of file BroadcastStrategy.h.
| void BroadcastStrategy::insertMessage | ( | MessageHolder * | msg | ) | [inline, virtual] |
| BroadcastStrategy::PUPable_decl | ( | BroadcastStrategy | ) |
int BroadcastStrategy::_topology [private] |
Definition at line 28 of file BroadcastStrategy.h.
Referenced by handleMessage(), insertMessage(), and pup().
int BroadcastStrategy::spanning_factor [private] |
Definition at line 31 of file BroadcastStrategy.h.
Referenced by BroadcastStrategy(), handleTree(), and pup().
double BroadcastStrategy::logp [private] |
Definition at line 33 of file BroadcastStrategy.h.
Referenced by handleHypercube(), initHypercube(), and pup().
1.5.5