Public Member Functions | Public Attributes

jmitie::CjNetworkDimensioner_calcw_va_t Struct Reference

A struct encapsulating the required arguments to the calcWeight(...) method of a sub-class of CjNetworkDimensioner. More...

#include <CjNetworkDimensioner.hh>

List of all members.

Public Member Functions

 CjNetworkDimensioner_calcw_va_t (boost::mt19937 *rng, int epoch)
 CjNetworkDimensioner_calcw_va_t (const CjNetworkProcess_act_va_t &temp)

Public Attributes

int m_epoch
 The current epoch (if < 0 then this is the end epoch).
boost::mt19937 *const m_rng
 A source of entropy. This shouldn't be stored in the dimensioner - for use only in calcWeight(...).

Detailed Description

A struct encapsulating the required arguments to the calcWeight(...) method of a sub-class of CjNetworkDimensioner.

When creating new sub-classes of CjNetworkDimensioner and it is necessary to add an argument to the calcWeight(...), they can be added here rather than updating the declaration of the CjNetworkDimensioner::calcWeight(...) and all sub-classes


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator