Table Of Contents
Table Of Contents

MultipleSimulationTasks

from inet.simulation.task

class MultipleSimulationTasks(simulation_project=None, mode='release', build=True, name='simulation', **kwargs)[source]

Bases: inet.common.task.MultipleTasks

Represents multiple simulation tasks that can be run together.

Initializes a new multiple simulation tasks object.

Parameters
  • mode (string) – Specifies the build mode for running. Valid values are “debug”, “release”, and “sanitize”.

  • build (bool) – Determines if the simulation project is built before running any simulation.

  • kwargs (dict) – Additional arguments are inherited from MultipleTasks constructor.

Methods

rerun

Runs the tasks again.

run

Runs multiple simulation tasks.

Attributes

rerun(**kwargs)

Runs the tasks again.

Returns (MultipleTaskResults):

The task results.

run(**kwargs)[source]

Runs multiple simulation tasks.

Parameters

kwargs (dict) – Additional parameters are inherited from the build_project function and also from the run method.

Returns (MultipleTaskResults):

An object that contains a list of SimulationTask.