JAS-mine maintains and develops the JAS simulation platform, a discrete-event tool-kit for agent-based and dynamic microsimulation modelling. This repository contains the core libraries. See www.jas-mine.net for more details.
2
stars
5
forks
source link
Add unique identifier to each `runId` to ensure non-conflicting simultaneous runs #34
In creating the runId from the date/time, is there a straightforward way to give this a further unique identifier to avoid problems if two independent runs start at the same second?
Possibilities:
Passing random seed (assuming simultaneous runs would use different seeds)
Passing an additional id marker at ExperimentManager.SetupExperiment() call (and similarly passable through LABSim multirun handler to the experiment)
In creating the
runId
from the date/time, is there a straightforward way to give this a further unique identifier to avoid problems if two independent runs start at the same second?Possibilities:
ExperimentManager.SetupExperiment()
call (and similarly passable through LABSim multirun handler to the experiment)https://github.com/jasmineRepo/JAS-mine-core/blob/6350178f69953577c97a10f451a7661e802efda1/microsim-core/src/main/java/microsim/data/db/Experiment.java#L58