A struct encapsulating the required arguments to the constructor of a CjLinkSelector. More...
#include <CjLinkSelector.hh>
Public Member Functions | |
CjLinkSelector_ctor_va_t (CjNLTopology *top, boost::mt19937 *rng, bool isRemover) | |
CjLinkSelector_ctor_va_t (const CjNetworkProcess_ctor_va_t &temp, bool isRemover, std::string parent_name) | |
Public Attributes | |
bool | m_add_remove |
if false then this selector will be 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 CjLinkSelector.
When creating new sub-classes of CjLinkSelector 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.