My Project
|
The main class for the generation of passengers. More...
#include <passenger_factory.h>
Static Public Member Functions | |
static Passenger * | Generate (int, int) |
Generation of a passenger with a randomized name and random destination within bounds. More... | |
The main class for the generation of passengers.
Calls to Generate function to get a new instance of a passenger. This is a static call, not requiring an instance to invoke the method.
|
static |
Generation of a passenger with a randomized name and random destination within bounds.
This function will be used for simulation purposes.
[in] | curr_stop | Current stop, left bound (not-inclusive) |
[in] | last_stop | Last stop, right bound (inclusive) |