fpmas 1.6
Static Public Member Functions | Static Public Attributes | List of all members
fpmas::model::RandomGridAgentBuilder Struct Reference

#include <grid.h>

Collaboration diagram for fpmas::model::RandomGridAgentBuilder:
Collaboration graph
[legend]

Static Public Member Functions

static void seed (random::mt19937_64::result_type seed)
 

Static Public Attributes

static random::mt19937_64 rd
 

Detailed Description

Helper class that defines a static random::mt19937_64 generator used by the GridAgentBuilder class (for any CellType).

The random generator can be seeded by the user to control random agent initialization.

See also
GridAgentBuilder::sample_init()

Member Function Documentation

◆ seed()

void fpmas::model::RandomGridAgentBuilder::seed ( random::mt19937_64::result_type  seed)
static

Seeds the random generator.

Parameters
seedrandom seed

Member Data Documentation

◆ rd

random::mt19937_64 fpmas::model::RandomGridAgentBuilder::rd
static

Static random generator.


The documentation for this struct was generated from the following files: