commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David James (JIRA)" <>
Subject [jira] [Created] (MATH-654) ValueServer not deterministic for a fixed random number seed
Date Tue, 30 Aug 2011 17:24:37 GMT
ValueServer not deterministic for a fixed random number seed

                 Key: MATH-654
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: David James

I have built an agent-based model using the Apache Commons Math library, which has come in

The ValueServer seemed particularly helpful, as explained at:

My simulation needs repeatable randomness, so I used this form of the ValueServer constructor:

    ValueServer(RandomData randomData) 
    Construct a ValueServer instance using a RandomData as its source of random data.

However, in my simulation, I found that the ValueServer did not act deterministically if I
supplied the same random number seed.

I have not inspected the source code, but I suspect that the ValueServer is not using the
`randomData` generator correctly. If it was, then it should be deterministic.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message