Package org.jamesii.core.math.random.generators.mersennetwister

Examples of org.jamesii.core.math.random.generators.mersennetwister.MersenneTwister


  private static final Double[][] PERF_DATA = new Double[][] {
      { 1., .5, 1.5, 1. }, { 2.5, 2., 1.5, 1. }, { 2.5, 3.5, 3., 1. } };

  @Override
  public void setUp() {
    ps = new StochSearchPortfolioSelector(100000, new MersenneTwister());
  }
View Full Code Here


*/
public class TestMersenneTwisterSerialization extends TestRNGSerialization {

  @Override
  protected IRandom getRNG() {
    return new MersenneTwister();
  }
View Full Code Here

  /** The Constant serialVersionUID. */
  private static final long serialVersionUID = 7610046037240164978L;

  @Override
  public IRandom create(Long seed) {
    return new InitPhaseSkipGenerator(new MersenneTwister(
        (int) (seed & 0xffffffffL)));
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.math.random.generators.mersennetwister.MersenneTwister

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.