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

java.lang.Object
  extended by net.sourceforge.cilib.math.random.generator.Seeder

public final class Seeder
extends Object

Author:
Edwin Peer

Method Summary
static long getSeed()
          Get a seed value.
static SeedSelectionStrategy getSeederStrategy()
          Get the currently defined SeedSelectionStrategy.
static void setSeederStrategy(SeedSelectionStrategy seedSelectionStrategy)
          Set the SeedSelectionStrategy to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSeed

public static long getSeed()
Get a seed value.

Returns:
The seed value.

getSeederStrategy

public static SeedSelectionStrategy getSeederStrategy()
Get the currently defined SeedSelectionStrategy.

Returns:
The current SeedSelectionStrategy.

setSeederStrategy

public static void setSeederStrategy(SeedSelectionStrategy seedSelectionStrategy)
Set the SeedSelectionStrategy to use.

Parameters:
seedSelectionStrategy - The value to set.


Copyright © 2009 CIRG. All Rights Reserved.