jasmineRepo / JAS-mine-core

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

Closed andrewbaxter439 closed 9 months ago

andrewbaxter439 commented 1 year ago

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:

https://github.com/jasmineRepo/JAS-mine-core/blob/6350178f69953577c97a10f451a7661e802efda1/microsim-core/src/main/java/microsim/data/db/Experiment.java#L58

andrewbaxter439 commented 9 months ago

Resolved in #35