|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.PersistentObject
org.apache.mahout.math.jet.random.engine.RandomSeedGenerator
@Deprecated public class RandomSeedGenerator
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 |
---|
public RandomSeedGenerator()
public RandomSeedGenerator(int row, int column)
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], ...
row
- should be in [0,Integer.MAX_VALUE].column
- should be in [0,RandomSeedTable.COLUMNS - 1].Method Detail |
---|
public int nextSeed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |