A Discrete-Event Network Simulator
API
sample-simulator.py File Reference

Python example program demonstrating use of various Schedule functions. More...

Go to the source code of this file.

Classes

class  sample-simulator.MyModel
 

Namespaces

 sample-simulator
 

Functions

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

Detailed Description

Python example program demonstrating use of various Schedule functions.

Definition in file sample-simulator.py.