#include <spatial_agent_mapping.h>
Helper class that defines a static random::mt19937_64 generator that must be used by api::model::SpatialAgentMapping implementations in order to be seeded by the fpmas::seed() method.
A non-distributed random generator is used, in order to generate the same random sequence on all processes, what is consistent with the api::model::SpatialAgentMapping specification that states that the same mapping must be generated on all processes.
- See also
- UniformAgentMapping
-
UniformGridAgentMapping
-
ConstrainedGridAgentMapping
◆ seed()
Seeds the random generator.
- Parameters
-
◆ rd
The documentation for this struct was generated from the following files: