NetworkSim.simulation.tools.plot.plot_analytical_simulation_latency

NetworkSim.simulation.tools.plot.plot_analytical_simulation_latency(simulator, data='auto', show_analytical=True)[source]

Plot analytical and simulation transfer delay.

Parameters
  • simulator (ParallelSimulator) – The simulator used for the plot.

  • data (str, optional) – Range of data used for the plot, chosen from the list:

    • batch : Use the data from the last batch when convergence mode is enabled.

    • extended : Use the data from the extended run when convergence mode is enabled.

    • all : Use all simulation data.

    • auto : Automatically determine the range of the data used. batch is selected when convergence mode is enabled and all is selected when convergence mode is disabled.

    Default is auto.

  • show_analytical (bool, optional) – If analytical results are shown on the plot, by default True.