net.sourceforge.cilib.math.random.generator
Class ZeroSeederStrategy
java.lang.Object
net.sourceforge.cilib.math.random.generator.ZeroSeederStrategy
- All Implemented Interfaces:
- SeedSelectionStrategy
public class ZeroSeederStrategy
- extends Object
- implements SeedSelectionStrategy
A SeedSelectionStrategy that returns 0 as the seed value. As a result this
class is rather pointless as the random number generators using this seed will
always produce the same sequence.
Method Summary |
long |
getSeed()
Obtain the desired seed value based. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZeroSeederStrategy
public ZeroSeederStrategy()
getSeed
public long getSeed()
- Obtain the desired seed value based.
- Specified by:
getSeed
in interface SeedSelectionStrategy
- Returns:
- The seed value to use.
Copyright © 2009 CIRG. All Rights Reserved.