[Feature] Add the possibility to insert a seed for the random generation #12

Closed
opened 3 years ago by AlessandroBregoli · 1 comments
AlessandroBregoli commented 3 years ago (Migrated from github.com)
Owner

Description

Add the possibility to insert a seed for the random generation

Acceptance Criteria

  • Allow the trajectory_generator function to be deterministic

Checklist

  • Each implementation of params::ParamsTrait::get_random_residence_time supports a seedable rng
  • Each implementation of params::ParamsTrait::get_random_state_uniform supports a seedable rng
  • Each implementation of params::ParamsTrait::get_random_state supports a seedable rng
  • The tools::trajectory_generator function can set a seed allowing for reproducibility

(Optional) Extra info

None

## Description Add the possibility to insert a seed for the random generation ## Acceptance Criteria - Allow the `trajectory_generator` function to be deterministic ## Checklist - [x] Each implementation of `params::ParamsTrait::get_random_residence_time` supports a seedable rng - [x] Each implementation of `params::ParamsTrait::get_random_state_uniform` supports a seedable rng - [x] Each implementation of `params::ParamsTrait::get_random_state` supports a seedable rng - [x] The `tools::trajectory_generator` function can set a seed allowing for reproducibility ## (Optional) Extra info None
AlessandroBregoli commented 3 years ago (Migrated from github.com)
Owner

Necessary to make parameter_learning tests deterministic.

Necessary to make parameter_learning tests deterministic.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: unimib-thesis-mad/reCTBN#12
Loading…
There is no content yet.