Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 751 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 751 Bytes

Kappa resimulation algorithm

Here is an implementation of the resimulation algorithm for Kappa. It generates a random counterfactual trace given a reference trace and an intervention.

How to install

In order to build this repository, you need to install the KaSim API: opam install kappa-library. Then, just type make test.

How to use

The resimulator is mostly intended to be used as an OCaml library whose interface can be found at lib/resimulation.mli. However, a restricted subset of features is currently available through the bin/resimulate executable that can be used as follows:

resimulate TRACE_FILE -b RULE

resimulates the trace contained in the json file TRACE_FILE, blocking every instance of rule RULE.