MC.
run
(file_out, weeks, weeks_equi, capacity={}, trials=100, node_p=0.1, p_norm='', max_dist=500)¶Run Monte Carlo code. Hereby the number of drivers for each hour represent the number of MC steps. During the equilibration run, the trajectory is not edited until sttarting the production run. If a user or POI choice fails, it is repeated for the given number of trials. POI probabilities are added to the nodes to set the probability for choosing certain nodes as a destination. The probability matrix for the graph nodes can be normalized using the options
Once finished, the trajectories are saved in form of a dictionary for
Parameters: |
|
---|---|
Returns: |
|