Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
I've produced an event simulator named Sim which is somewhat similar to Simpy in my SVN repos:

The Sim Simulator

Only 2 .pm files, pretty simple to implement, but still rather powerful ;)

It's truly general-purpose and thoroughly tested at the moment though it's currently a subproject of my logic circuit simulator, Tesla , which uses it as the core.

There is some (English) POD in the .pm files of Sim and I've also written a trivial M/M/1 and M/M/m sample app here:

SuperMarcket Simulation

A corresponding report with some code snippets and interesting pictures can also be found here:

doc/report.html

Sorry for the Chinese characters in this report, but there is always a Google Translate :)

If you find this thing useful, I may feel like putting it onto CPAN.

Hope this helps.

Cheers, agentz


In reply to Re: Discrete event simulation by agentz
in thread Discrete event simulation by toma

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.