TOP --> libjdl

class CJdlRandomAcmCls
    extends CJdlRandomBaseCls as public

Additive Congruential Method random number generator.

Author:
Joe Linoff

Version:
$Id: jdlrandom.h,v 1.3 1999/06/12 18:26:00 jdl Exp $

Source:
../../libjdl/src/jdlrandom.h:91

See Also:
CJdlRandomBaseCls, CJdlRandomAcmCls

Constructors Index

CJdlRandomAcmCls
[public]


Methods Index

GetNext
[public]
Random
[public]
SetSeed
[public] Set the seed.


Constructors

CJdlRandomAcmCls

public CJdlRandomAcmCls ( ) ;


Methods

SetSeed

public void SetSeed ( long seed ) ;

Set the seed.

Parameters:
seed Long representing the seed.

GetNext

public long GetNext ( ) ;

Return:
A pseudo random number.

Random

public long Random ( ) ;

Return:
A pseudo random number.

This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.