gen_rand
Files: ftbl.h, ftbl.c
Generates a user defined random number distribution.
sp_gen_rand(sp_data *sp, sp_ftbl *ft , char *argstring)
Parameters
argstring: A string of value pairs. The first value is the value, then the probability.
(Recommended value: 1 0.5 2 0.5)