Documentation under construction.
MOB_SIM(config, trials = 1000, path = SAVE_PATH, overwrite = False)
config
: dictionary containing mobility simulation parameters.trials
: number of trials (integer)path
: path to save the simulation results tooverwrite
: overwrite simulation results if they already exist
calc_metrics(path, selection = [], overwrite = False)
path
: path of simulation resultsselection
: list of metrics to calculate (if not specified, calculates everything)overwrite
: force all metrics to be recalculated
Metrics will be saved to the same folder as _metrics.pkl
.
build_UNAGG(path, out_path = None, overwrite = False)
path
: path of mobility simulation results that the model will be based onout_path
: output path of the MMP modeloverwrite
: overwrite model if it already exists
build_AGG(path, out_path = None, overwrite = False)
path
: path of mobility simulation results that the model will be based onout_path
: output path of the MMP modeloverwrite
: overwrite model if it already exists
MMP_SIM(path, trials = 1000, T = None, overwrite = False)
path
: path of the MMP modeltrials
: number of trials to perform, defaults to the same as the mobility processT
: number of time steps per trials, defaults to same as mobility processoverwrite
: overwrite results if they already exist
Results are saved to the same path. Link metrics are autocalculated during simulation.