A struct encapsulating the required arguments to the constructor of a CjNodeSelector. More...
#include <CjNodeSelector.hh>
Public Member Functions | |
CjNodeSelector_ctor_va_t (CjNLTopology *top, boost::mt19937 *rng, bool isDest, bool isRemove, std::string parent_name) | |
CjNodeSelector_ctor_va_t (const CjNetworkProcess_ctor_va_t &temp, bool isDest, bool isRemove, std::string parent_name) | |
Public Attributes | |
bool | m_src_dest |
if false this will be the source node selector, destination otherwise | |
bool | m_add_remove |
if false then this selector will be used for adding a link, removing otherwise | |
boost::mt19937 * | m_rng |
A source of entropy. This shouldn't be stored in the node selector - for use only in the constructor. | |
const CjNLTopology * | m_top |
The topology associated with this selector. | |
std::string | m_parent_name |
The free-name of the process (or other object) that this selector operates under. |
A struct encapsulating the required arguments to the constructor of a CjNodeSelector.
When creating new sub-classes of CjNodeSelector and it is necessary to add an argument to the constructor it can be more easily added here rather than changing the prototype of [all of] the sub-classes.