Two more follow-up questions,
1. what is the max/min values for the seed of mt19937. the reason for this
question is that, I has a large number(10k+) of std::string (such as company
names). I use the hash values (boost::hash) of the string as the seed to
generate state(random number) for the correspoding company. Since the states
are assumed to be mutually indepdent, I don't want any collision. How could
I acheive this?
2.I got different hash values for same string on redhat(gcc 4.1.2) and
windows 7 (VS2013), both systems are 64bits. what is the reason, and how
could I get same value?
Thanks!