NetworkSim.simulation.tools.performance_analysis.get_extended_run_throughput

NetworkSim.simulation.tools.performance_analysis.get_extended_run_throughput(simulator)[source]

Function to compute the mean throughput of a simulation during the extended run.

Parameters

simulator (BaseSimulator) – The simulator used.

Returns

mean_throughput – The mean throughput.

Return type

float

Raises
  • NotImplementedError – Raised when convergence mode is disabled for the simulator.

  • ValueError – Raised when extended run is disabled for the simulator.