BioDynaMo
v1.05.120-25dc9790
|
#include <randomized_rm.h>
Public Member Functions | |
RandomizedRm (TRootIOCtor *r) | |
RandomizedRm (bool auto_randomize=true) | |
virtual | ~RandomizedRm () |
void | RandomizeAgentsOrder () |
void | EndOfIteration () override |
Protected Member Functions | |
BDM_CLASS_DEF_NV (RandomizedRm, 1) | |
Protected Attributes | |
bool | auto_randomize_ = true |
A specialized implementation of ResourceManager that randomly shuffles the order of agents to enable looping over agents randomly. By default, the random reordering happens at the end of every iterations (during the teardown operation), but this can be turned off by initializing the auto_randomize_
variable with false
. To manually trigger the random reordering of agents, you can call the RandomizeAgentsOrder
function.
Definition at line 33 of file randomized_rm.h.
|
inlineexplicit |
Definition at line 35 of file randomized_rm.h.
bdm::RandomizedRm< TBaseRm >::RandomizedRm | ( | bool | auto_randomize = true | ) |
Definition at line 51 of file randomized_rm.h.
|
virtualdefault |
|
protected |
|
override |
Definition at line 95 of file randomized_rm.h.
void bdm::RandomizedRm< TBaseRm >::RandomizeAgentsOrder |
Definition at line 72 of file randomized_rm.h.
|
protected |
Definition at line 45 of file randomized_rm.h.