[Kde-games-devel] Reproducing random numbers

Albert Astals Cid aacid at kde.org
Wed Apr 15 00:28:04 CEST 2009


A Tuesday, 14 of April de 2009, Ian Wadham va escriure:
> On Mon, 13 Apr 2009 9:57:09 pm Albert Astals Cid wrote:
> > A Monday, 13 of April de 2009, Ian Wadham va escriure:
> > > So am I right in thinking that use of KRandomSequence is
> > > completely reproducible if you supply a seed before starting a
> > > sequence of numbers?
> >
> > Reading the code and the documentation is what i understand too
> > (KRandomSequence with seed gives a "known" random sequence), if you find
> > this to be false i would qualify it as a bug.
>
> Agreed, but see Kevin's point about cross-platform and future versions
> of KRandomSequence.

From what i see KRandomSequence is totally self contained (calculates itself 
the random values) so that should not be a problem, right?

Albert

>
> All the best, Ian W.
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel




More information about the kde-games-devel mailing list