Data Fields

triple_struct Struct Reference

This function returns a pseudo-random number for each invocation. More...

Data Fields

int loc
int cust
double cost

Detailed Description

This function returns a pseudo-random number for each invocation.

This C implementation, is adapted from a FORTRAN 77 adaptation of the "Integer Version 2" minimal standard number generator whose Pascal code described by

This code is portable to any machine that has a maximum integer greater than, or equal to, 2**31-1. Thus, this code should run on any 32-bit machine. The code meets all of the requirements of the "minimal standard" as described by Park and Miller note that the execution times for running the portable code were 2 to 50 times slower than the random number generator supplied by the vendor.


The documentation for this struct was generated from the following file: