Tuning the Generator Parameters

Multiple parameters can be used to tune the generator according to your needs. We describe next these parameters.

A first set of primary parameters determine the global behaviour of the generator. These parameters can also be set by a corresponding optional argument when calling the function berlinmod_generate.

For example, possible calls of the berlinmod_generate function setting values for the parameters are as follows.

-- Use all default values
SELECT berlinmod_generate();
-- Set the scale factor and use all other default values
SELECT berlinmod_generate(scaleFactor := 2.0);
-- Set the number of vehicles and number of days
SELECT berlinmod_generate(noVehicles := 10, noDays := 10);

Another set of parameters determining the global behaviour of the generator are given next.

Another set of paramaters determine how the trips are created out of the paths.