Optimization API optimization-33 (20130530172738)

edu.cornell.med.icb.optimization
Class TwisterGenerator

java.lang.Object
  extended by cern.colt.PersistentObject
      extended by cern.jet.random.engine.RandomEngine
          extended by cern.jet.random.engine.MersenneTwister
              extended by edu.cornell.med.icb.optimization.TwisterGenerator
All Implemented Interfaces:
DoubleFunction, IntFunction, Serializable, Cloneable, org.jgap.RandomGenerator

public class TwisterGenerator
extends MersenneTwister
implements org.jgap.RandomGenerator

An adapter to use the Colt MersenneTwister random engine with JGAP.

Author:
Fabien Campagne Date: Oct 10, 2007 Time: 6:50:30 PM
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cern.jet.random.engine.MersenneTwister
DEFAULT_SEED
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Fields inherited from interface org.jgap.RandomGenerator
CVS_REVISION
 
Constructor Summary
TwisterGenerator()
           
TwisterGenerator(Date date)
           
TwisterGenerator(int seed)
           
 
Method Summary
 boolean nextBoolean()
           
 int nextInt(int ceiling)
           
 
Methods inherited from class cern.jet.random.engine.MersenneTwister
clone, nextBlock, nextInt, setSeed
 
Methods inherited from class cern.jet.random.engine.RandomEngine
apply, apply, makeDefault, nextDouble, nextFloat, nextLong, raw
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jgap.RandomGenerator
nextDouble, nextFloat, nextInt, nextLong
 

Constructor Detail

TwisterGenerator

public TwisterGenerator(Date date)

TwisterGenerator

public TwisterGenerator()

TwisterGenerator

public TwisterGenerator(int seed)
Method Detail

nextInt

public int nextInt(int ceiling)
Specified by:
nextInt in interface org.jgap.RandomGenerator

nextBoolean

public boolean nextBoolean()
Specified by:
nextBoolean in interface org.jgap.RandomGenerator

Optimization API optimization-33 (20130530172738)

Copyright © 2007-2013 Institute for Computational Biomedicine, All Rights Reserved.