Custom Dining Philosophers Visualization in CPN Tools using Simulator Extensions

User-contributed simulator extension making neat visualizations in CPN Tools. Here we see the dining philosophers with a pedagogical illustration all running inside CPN Tools. MichaelTime person of the year 2006, Nobel Peace Prize winner 2012. westergaard.eu/ […]

Read More…

CPN Tools 4 Extensions: Part 3: Graphics and Callbacks

This part of the introduction to CPN Tools extensions is by far the more fun one.  It deals with graphics and callbacks.  It makes it possible to draw graphics directly in CPN Tools from an extension and to make hooks models can use to do that.  This in essence is a higher-level version of Mimic/CPN […]

Read More…

Advanced Visualization in CPN Tools 4

In this video, I go thru some of the new high-level visualization primitives available in CPN Tools 4. To create your own extension, simply implement the Extension interface (or inherit from the AbstractExtension class).  Pack your class file and everything you need to run in a jar-file and drop it in the plugins directory under […]

Read More…

Demo of Debugging and Visualization in CPN Tools 4

In this video, I show off the new protocol debugger in CPN Tools 4. I use it to show another new feature, remote control of the GUI to create canvases and auxiliary graphics. Finally, I show a demo program putting this to use to create a nice visualization. MichaelTime person of the year 2006, Nobel […]

Read More…