Skip to content

The ABM's RNG is not used after initialization #1400

@reneSchm

Description

@reneSchm

Bug description

The RNG in the Model is only used to initialize each Person with a key, index and counter, but afterwards it is entirely unused.

Current intended behaviour is that changes to Model RNG is relevant to simulation results.

Version

Any

To reproduce

  1. Create ABM, add persons, locations, ...
  2. Change seeds of Model.get_rng()
  3. Simulate
  4. Observe no changes (compared to old seed)

Relevant log output

Add any relevant information, e.g. used compiler, screenshots.

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

No one assigned

    Labels

    class::bugBugs found in the softwareloc::backendThis issue concerns the C++ backend implementation.model::abmThis issue concerns any kind of agent-based model.

    Type

    No type

    Projects

    Status

    Sprint Backlog 🏃‍♂️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions