net.sourceforge.cilib.games.random
Class UniqueSeedingStrategy
java.lang.Object
net.sourceforge.cilib.games.random.GameSeedingStrategy
net.sourceforge.cilib.games.random.UniqueSeedingStrategy
- All Implemented Interfaces:
- Serializable, Cloneable
public class UniqueSeedingStrategy
- extends GameSeedingStrategy
This is a seeding strategy that generates a unique seed everytime the seedGenerator
method is called.
This is also the default seeding strategy
- Author:
- leo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueSeedingStrategy
public UniqueSeedingStrategy()
UniqueSeedingStrategy
public UniqueSeedingStrategy(GameSeedingStrategy other)
getClone
public UniqueSeedingStrategy getClone()
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class GameSeedingStrategy
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
seedGenerator
public void seedGenerator()
- Get a seed value and seed the generator.
- Specified by:
seedGenerator
in class GameSeedingStrategy
Copyright © 2009 CIRG. All Rights Reserved.