org.apache.mahout.math.jet.random.engine
Interface RandomGenerator


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

@Deprecated
public interface RandomGenerator


Method Summary
 double nextDouble()
          Deprecated. Returns a 64 bit uniformly distributed random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0).
 float nextFloat()
          Deprecated. Returns a 32 bit uniformly distributed random number in the open unit interval (0.0f,1.0f) (excluding 0.0f and 1.0f).
 int nextInt()
          Deprecated. Returns a 32 bit uniformly distributed random number in the closed interval [Integer.MIN_VALUE,Integer.MAX_VALUE] (including Integer.MIN_VALUE and Integer.MAX_VALUE);
 long nextLong()
          Deprecated. Returns a 64 bit uniformly distributed random number in the closed interval [Long.MIN_VALUE,Long.MAX_VALUE] (including Long.MIN_VALUE and Long.MAX_VALUE).
 double raw()
          Deprecated. Returns a 32 bit uniformly distributed random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0).
 

Method Detail

raw

double raw()
Deprecated. 
Returns a 32 bit uniformly distributed random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0).


nextDouble

double nextDouble()
Deprecated. 
Returns a 64 bit uniformly distributed random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0).


nextInt

int nextInt()
Deprecated. 
Returns a 32 bit uniformly distributed random number in the closed interval [Integer.MIN_VALUE,Integer.MAX_VALUE] (including Integer.MIN_VALUE and Integer.MAX_VALUE);


nextLong

long nextLong()
Deprecated. 
Returns a 64 bit uniformly distributed random number in the closed interval [Long.MIN_VALUE,Long.MAX_VALUE] (including Long.MIN_VALUE and Long.MAX_VALUE).


nextFloat

float nextFloat()
Deprecated. 
Returns a 32 bit uniformly distributed random number in the open unit interval (0.0f,1.0f) (excluding 0.0f and 1.0f).



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