A struct encapsulating the required arguments to the calcWeight(...) method of a sub-class of CjNetworkDimensioner. More...
#include <CjNetworkDimensioner.hh>
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(...). |
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