random

A module containing functions related to generate random numbers.

Summary

Functions:

get_random_seed

Get a random seed for the simulation.

Reference

get_random_seed() int[source]

Get a random seed for the simulation.

Returns:

The random seed. If the environment variable CONSTANT_SEED is set, the seed will be the value of the environment variable. Otherwise, the seed will be a random 128-bit integer.

Return type:

int