GithubHelp home page GithubHelp logo

debdaspaul / kasim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kappa-dev/kappatools

0.0 1.0 0.0 144.8 MB

Tool suite for kappa models. Documentation and binaries can be found in the release section. Try it online at

Home Page: http://kappalanguage.org/

License: GNU Lesser General Public License v3.0

OCaml 94.61% Standard ML 0.38% Makefile 0.37% HTML 0.18% JavaScript 2.92% Shell 0.07% CSS 0.11% MATLAB 0.67% Python 0.70%

kasim's Introduction

KaSim logo

KaSim

Join the chat at https://gitter.im/Kappa-Dev/KaSim

KaSim is a stochastic simulator for rule-based models written in Kappa. KaSa is a static analyser for Kappa models.

User manual

The reference manual is available online in pdf and html;

The latex sources are available in the man/ directory. To compile the manuel, in addition of a decent LaTeX distribution you need gnuplot and graphviz to generate images (make sure that dot is in the PATH of your OS). To generate the pdf of the manuel type

make doc

Installation

To compile KaSim, you need the OCaml native compiler version 4.02.3 or above as well as ocamlbuild, findlib and Yojson library. To check whether you have them, type

ocamlfind ocamlopt -version

ocamlfind query yojson

If you use a package manager (or opam, the OCaml package manager), OCaml compilers, ocamlbuild and findlib are really likely provided by it. Else, OCaml native compilers can be downloaded on INRIA's website. The Windows bundle contains ocamlbuild and findlib. Findlib sources are available on camlcity.org. Ocamlbuild is on github.

If you don't have any easier way to install it (opam, apt, rpm, cygwin, ...), Yojson sources are available here (Note that you'll need to compile and install also its dependencies (cppo, easy-format, biniou) from the same website).

To create binaries, simply type

make all

This should produce KaSim binaries. Ask for a data file in svg format (by giving a name ending in .svg) or you will need your own plotting program (like gnuplot) to visualize curves.

Usage

In order to run a simulation for 100 time units printing observables values every 0.5 time unit, type

bin/KaSim kappa_file_1 ... kappa_file_n -l 100 -p 0.5 -o data_file

This will produce a data file of 200 point containing the trajectory that was produced during the simulation.

Type:

bin/KaSim --help

for a complete list of options.

kasim's People

Contributors

pirbo avatar feret avatar lykimquyen avatar majorseitan avatar hmedina avatar vd1 avatar jonathan-laurent avatar antonkulaga avatar phanimahesh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.