net.sourceforge.cilib.math.random.generator
Class ZeroSeederStrategy

java.lang.Object
  extended by 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.


Constructor Summary
ZeroSeederStrategy()
           
 
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
 

Constructor Detail

ZeroSeederStrategy

public ZeroSeederStrategy()
Method Detail

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.