prophet::NodeParams Struct Reference

Tunable parameter struct for setting global default values for Prophet node algorithms. More...

#include <Node.h>

Inheritance diagram for prophet::NodeParams:

prophet::ProphetParams

List of all members.

Public Member Functions

 NodeParams ()
virtual ~NodeParams ()

Public Attributes

double encounter_
 initial value for p_value
double beta_
 weighting factor for transitive algorithm
double gamma_
 weighting factor for aging algorithm
u_int kappa_
 milliseconds per unit time, aging algorithm

Static Public Attributes

static const double DEFAULT_P_ENCOUNTER = 0.75
 Default initialization values, p.
static const double DEFAULT_BETA = 0.25
 Default initialization values, p.
static const double DEFAULT_GAMMA = 0.99
 Default initialization values, p.
static const u_int DEFAULT_KAPPA = 100
 The kappa variable describes how many milliseconds-per-timeunit (for equation 2, p.9, section 2.1.1).


Detailed Description

Tunable parameter struct for setting global default values for Prophet node algorithms.

Definition at line 36 of file servlib/prophet/Node.h.


Constructor & Destructor Documentation

prophet::NodeParams::NodeParams (  )  [inline]

Definition at line 59 of file servlib/prophet/Node.h.

virtual prophet::NodeParams::~NodeParams (  )  [inline, virtual]

Definition at line 65 of file servlib/prophet/Node.h.


Member Data Documentation

weighting factor for transitive algorithm

Definition at line 68 of file servlib/prophet/Node.h.

Referenced by prophet::Node::update_transitive().

const double prophet::NodeParams::DEFAULT_BETA = 0.25 [static]

Default initialization values, p.

15, 3.3, figure 2

Definition at line 46 of file servlib/prophet/Node.h.

const double prophet::NodeParams::DEFAULT_GAMMA = 0.99 [static]

Default initialization values, p.

15, 3.3, figure 2

Definition at line 51 of file servlib/prophet/Node.h.

const u_int prophet::NodeParams::DEFAULT_KAPPA = 100 [static]

The kappa variable describes how many milliseconds-per-timeunit (for equation 2, p.9, section 2.1.1).

Definition at line 57 of file servlib/prophet/Node.h.

const double prophet::NodeParams::DEFAULT_P_ENCOUNTER = 0.75 [static]

Default initialization values, p.

15, 3.3, figure 2

Definition at line 41 of file servlib/prophet/Node.h.

initial value for p_value

Definition at line 67 of file servlib/prophet/Node.h.

Referenced by prophet::Node::update_pvalue(), and prophet::Node::update_transitive().

weighting factor for aging algorithm

Definition at line 69 of file servlib/prophet/Node.h.

Referenced by prophet::Node::update_age().

milliseconds per unit time, aging algorithm

Definition at line 70 of file servlib/prophet/Node.h.

Referenced by prophet::Node::time_to_units().


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

Generated on Fri Jan 30 09:27:06 2009 for DTN Reference Implementation by  doxygen 1.5.8