org.apache.mahout.math.jet.random.engine
Class RandomSeedGenerator

java.lang.Object
  extended by org.apache.mahout.math.PersistentObject
      extended by org.apache.mahout.math.jet.random.engine.RandomSeedGenerator
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.

@Deprecated
public class RandomSeedGenerator
extends PersistentObject

See Also:
Serialized Form

Constructor Summary
RandomSeedGenerator()
          Deprecated. Constructs and returns a new seed generator.
RandomSeedGenerator(int row, int column)
          Deprecated. Constructs and returns a new seed generator; you normally won't need to use this method.
 
Method Summary
 int nextSeed()
          Deprecated. Returns the next seed.
 
Methods inherited from class org.apache.mahout.math.PersistentObject
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomSeedGenerator

public RandomSeedGenerator()
Deprecated. 
Constructs and returns a new seed generator.


RandomSeedGenerator

public RandomSeedGenerator(int row,
                           int column)
Deprecated. 
Constructs and returns a new seed generator; you normally won't need to use this method.

The position [row,column] indicates the iteration starting point within a (virtual) seed matrix. The seed matrix is a n*m matrix with 1 + Integer.MAX_VALUE (virtual) rows and RandomSeedTable.COLUMNS columns. Successive calls to method nextSeed() will cycle over the given column, in ascending order: nextSeed() returns the seed s[row,column], s[row+1,column], ... s[Integer.MAX_VALUE,column], s[0,column], s[1,column], ...

Parameters:
row - should be in [0,Integer.MAX_VALUE].
column - should be in [0,RandomSeedTable.COLUMNS - 1].
Method Detail

nextSeed

public int nextSeed()
Deprecated. 
Returns the next seed.



Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.