Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !988

Random: add seed parameter

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Loic Hausammann requested to merge random_seed into master Dec 17, 2019
  • Overview 22
  • Commits 8
  • Changes 6

Add a parameter (at configuration) that modifies the random number generated.

I am simply shifting the ID (and/or timeinteger) by a constant number.

Should I add a warning when this shift is non zero?

You can compile the code with the following way: ./configure --with-random-shift-time=12 --with-random-shift-id=122

Edited Dec 20, 2019 by Loic Hausammann
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: random_seed