PPL Logo

RingMulticastStrategy Class Reference
[Strategies for use in Charm++]

Multicast Strategy that sends a multicast in a ring: the source processor send a message only to its following neighbour, which propagates it forward to its neighbour, and so on. More...

#include <RingMulticastStrategy.h>

Inheritance diagram for RingMulticastStrategy:

Inheritance graph
[legend]
Collaboration diagram for RingMulticastStrategy:

Collaboration graph
[legend]

Public Member Functions

 RingMulticastStrategy ()
 RingMulticastStrategy (CkMigrateMessage *m)
 PUPable_decl (RingMulticastStrategy)

Protected Member Functions

int isEndOfRing (int next_pe, int src_pe)
virtual void createObjectOnSrcPe (ComlibSectionHashObject *obj, int npes, ComlibMulticastIndexCount *pelist)
 Called when a new section multicast is called by the user locally.
virtual void createObjectOnIntermediatePe (ComlibSectionHashObject *obj, int npes, ComlibMulticastIndexCount *counts, int src_pe)
 Similar to createHashObjectOnSrcPe, but that this call is made on the destination or intermediate processor.

Detailed Description

Multicast Strategy that sends a multicast in a ring: the source processor send a message only to its following neighbour, which propagates it forward to its neighbour, and so on.

Only the processors involved in the multicast are part of the ring.

Definition at line 18 of file RingMulticastStrategy.h.


Constructor & Destructor Documentation

RingMulticastStrategy::RingMulticastStrategy (  )  [inline]

Definition at line 30 of file RingMulticastStrategy.h.

RingMulticastStrategy::RingMulticastStrategy ( CkMigrateMessage m  )  [inline]

Definition at line 31 of file RingMulticastStrategy.h.


Member Function Documentation

RingMulticastStrategy::PUPable_decl ( RingMulticastStrategy   ) 


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

Generated on Fri May 25 08:05:14 2012 for Charm++ by  doxygen 1.5.5