Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

Seed


Functions

unsigned int vallst_getSeed (VallstInstance *vi)
void vallst_setSeed (VallstInstance *vi, unsigned int seed)

Function Documentation

unsigned int vallst_getSeed VallstInstance vi  ) 
 

Returns the seed used.

Examples:
vallst.c.

void vallst_setSeed VallstInstance vi,
unsigned int  seed
 

Sets the seed.

Before you start all over on a completely new problem you might want to call this function (e.g. with seed=time(NULL)) in order to know what the seed value is for the new problem.


Copyright (C) 2004-2005 Daniel Vallstrom. See the various vallst files for license notices.

Generated on Mon Jul 18 11:34:15 2005 for Vallst by doxygen 1.4.3.