NetworkSim.simulation.tools.load_save.load_model

NetworkSim.simulation.tools.load_save.load_model(fname=None, dir=None)[source]

Function to load previously saved pickle files as models.

Parameters
  • fname (str, optional) – File name of the model, by default None, such that all models under the directory are loaded.

  • dir (str, optional) – Directory of the models, by default None, corresponding to the models directory.

Returns

simulator – A list of simulators loaded.

Return type

list