Package org.jamesii.core.math.random.rnggenerator

Examples of org.jamesii.core.math.random.rnggenerator.RandomNumberGeneratorException


    if (count.compareTo(period_barrier) == 0) {
      count = BigInteger.ZERO;
      controlledPRNG.setSeed(System.currentTimeMillis()); // FIXME

      if (seedGenerator == null) {
        throw new RandomNumberGeneratorException(
            "Period of a PRNG used exhausted. You should either use more than one PRNG or use a PRNG with a longer period!");
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.math.random.rnggenerator.RandomNumberGeneratorException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.