Package SimPy
[hide private]
[frames] | no frames]

Source Code for Package SimPy

 1  #!/usr / bin / env python 
 2  # coding=utf-8 
 3  # $Revision: 483 $ $Date: 2010-05-10 09:16:41 +0200 (Mon, 10 May 2010) $ 
 4  """ 
 5  SimPy, a process - based simulation package in Python 
 6   
 7  LICENSE: 
 8  Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Klaus G. Muller, Tony Vignaux 
 9  mailto: kgmuller at xs4all.nl and Tony.Vignaux at vuw.ac.nz 
10   
11      This library is free software; you can redistribute it and / or 
12      modify it under the terms of the GNU Lesser General Public 
13      License as published by the Free Software Foundation; either 
14      version 2.1 of the License, or (at your option) any later version. 
15   
16      This library is distributed in the hope that it will be useful, 
17      but WITHOUT ANY WARRANTY; without even the implied warranty of 
18      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
19      Lesser General Public License for more details. 
20   
21      You should have received a copy of the GNU Lesser General Public 
22      License along with this library; if not, write to the Free Software 
23      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111 - 1307  USA 
24  END OF LICENSE 
25   
26  Contains the following modules: 
27  Lib - module with all base classes of SimPy 
28  Globals - module providing a global Simulation object 
29  Simulation - module implementing processes and resources 
30  Monitor - dummy module for backward compatibility 
31  SimulationTrace - module implementing event tracing 
32  SimulationRT - module for simulation speed control 
33  SimulationStep - module for stepping through simulation event by event 
34  SimPlot - Tk - based plotting module 
35  SimGui - Tk - based SimPy GUI module 
36  Lister - module for prettyprinting class instances 
37  Lib - module containing SimPy entity classes (Process etc.) 
38  Recording - module containing SimPy classes for recording results (Monitor, Tally) 
39  Globals - module providing global Simulation object and the global  
40            simulation methods 
41  stepping - a simple interactive debugger 
42   
43  __version__ = '$Revision: 483 $ $Date: 2010-05-10 09:16:41 +0200 (Mon, 10 May 2010) $ kgm' 
44  """ 
45   
46  __SimPyVersion__ = '2.1.0' 
47