Of course I believe you, but I looked in the boost documentation and
couldn't find it after some skimming. Could you give a citation please?
Maybe add the citation to a comment?

Matthew Gidden
Nuclear Energy University Programs Fellow
The University of Wisconsin -- Madison
Ph. 225.892.3192
Fax 608.263.7451


On Wed, May 1, 2013 at 5:35 PM, Robert Carlsen <notifications@github.com>wrote:

> In src/Core/Utility/EventManager.cpp:
>
> >  EventManager* EventManager::instance_ = 0;
> >
> >  //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > -EventManager::EventManager() {
> > -  dump_count_ = kDefaultDumpCount;
> > +EventManager::EventManager() : dump_count_(kDefaultDumpCount) {
> > +  boost::uuids::uuid uuid = boost::uuids::random_generator()();
> > +  sim_id_ = boost::lexical_cast<std::string>(uuid);
>
> independently generated uuid's are designed to have a very small collision
> probability (approx 10^-8% for 10^12 uuids)
> … <#13e623cb1a04f116_>
> On Wed, May 1, 2013 at 5:25 PM, gidden <notifications@github.com> wrote:
> In src/Core/Utility/EventManager.cpp: > EventManager*
> EventManager::instance_ = 0; > > //- - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - > -EventManager::EventManager() { > -
> dump_count_ = kDefaultDumpCount; > +EventManager::EventManager() :
> dump_count_(kDefaultDumpCount) { > + boost::uuids::uuid uuid =
> boost::uuids::random_generator()(); > + sim_id_ =
> boost::lexical_cast<std::string>(uuid); just FYI, it looks like boost
> provides a to_string function for uuids (lexical cast not needed) in any
> case, if simulations are run as separate instances, how do we guarantee no
> (or very small chance of) collision of uuids? — Reply to this email
> directly or view it on GitHub<
> https://github.com/cyclus/cyclus/pull/481/files#r4046110> .
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/481/files#r4046274>
> .
>