Skip to content

Aimsun Next API Random Number Generation

Get Random Number

In C++ and Python

Explanation

Get a random number. This function uses the internal random number generator to calculate random numbers between 0 and 1.

Format
double AKIGetRandomNumber();
Parameters

None.

Output

Random number between 0 and 1.