HeavyTailBundleMaker Class Reference
[pydtn]

Create Bundles sized according to a heavy-tailed distribution. More...

#include <pydtn/HeavyTailBundleMaker.h>

Inheritance diagram for HeavyTailBundleMaker:

Inheritance graph
[legend]
Collaboration diagram for HeavyTailBundleMaker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HeavyTailBundleMaker (WrapNode *source, WrapNode *destination, const DTN::ByteString &app, unsigned int size, double alpha)
 Constructor.
virtual ~HeavyTailBundleMaker ()
 Virtual destructor.
void generate ()
 Generate a Bundle.


Detailed Description

Create Bundles sized according to a heavy-tailed distribution.

The bundles created ar MockBundles, and are forwarded by direct call to the source WrapNode. All Bundles have the same configured application identifier.

Definition at line 48 of file HeavyTailBundleMaker.h.


Constructor & Destructor Documentation

HeavyTailBundleMaker::HeavyTailBundleMaker ( WrapNode source,
WrapNode destination,
const DTN::ByteString &  app,
unsigned int  size,
double  alpha 
)

Constructor.

Parameters:
source The node that will send the bundles
destination The node to which the bundles will be sent
app The application identifier to use in bundles
size Multiplier for the bundle size (minimum value)
alpha The bundle size distribution parameter

Definition at line 41 of file HeavyTailBundleMaker.cc.


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:47 2008 for Pydtn Simulator by  doxygen 1.5.4