GarlicSim
Encyclopedia
GarlicSim is a generic simulation platform written in Python
Python (programming language)
Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability. Python claims to "[combine] remarkable power with very clear syntax", and its standard library is large and comprehensive...

. It can be used for many different kinds of simulations: Physics, game theory, epidemic spread, electronics, etc.

The basic premise of GarlicSim is that all the different kinds of simulations have one thing in common:
  1. They have a concept of a world state.
  2. They define a step function.


When writing a simulation package (also abbreviated simpack) in GarlicSim, the simpack's creator needs to define how that simpack's world state will be like, and what its step function will do. Once that is done, GarlicSim can run the simulation.

Because it is implemented in Python
Python (programming language)
Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability. Python claims to "[combine] remarkable power with very clear syntax", and its standard library is large and comprehensive...

 and wxPython
WxPython
-External links:* * at showmedo...

, GarlicSim is platform-independent and works on Windows, Mac and Linux.

History

GarlicSim was started by Ram Rachum in February of 2009. Rachum was programming simulations in Physics
Physics
Physics is a natural science that involves the study of matter and its motion through spacetime, along with related concepts such as energy and force. More broadly, it is the general analysis of nature, conducted in order to understand how the universe behaves.Physics is one of the oldest academic...

 and Game Theory
Game theory
Game theory is a mathematical method for analyzing calculated circumstances, such as in games, where a person’s success is based upon the choices of others...

and was frustrated by the amount of technical work required to produce such simulations. He started GarlicSim with the goal of creating a project that would allow scientists to program simulations with as little technical work as possible.

External links

documentation
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK