A Discrete-Event Network Simulator
API
sample-simulator Namespace Reference

Classes

class  MyModel
 

Functions

def CancelledEvent ()
 Example function - triggered if an event is canceled (should not be called). More...
 
def ExampleFunction (model)
 Example function - starts MyModel. More...
 
def RandomFunction (model)
 Example function - triggered at a random time. More...
 

Function Documentation

◆ CancelledEvent()

def sample-simulator.CancelledEvent ( void  )

Example function - triggered if an event is canceled (should not be called).

Returns
None.

Definition at line 62 of file sample-simulator.py.

◆ ExampleFunction()

def sample-simulator.ExampleFunction (   model)

Example function - starts MyModel.

Parameters
[in]modelThe instance of MyModel
Returns
None.

Definition at line 50 of file sample-simulator.py.

◆ RandomFunction()

def sample-simulator.RandomFunction (   model)

Example function - triggered at a random time.

Parameters
[in]modelThe instance of MyModel
Returns
None.

Definition at line 57 of file sample-simulator.py.