Library bigraph

A library for programmatically manipulating bigraphs, reaction rules, and Bigraphical Reactive Systems (BRS). It supports standard bigraphs and bigraphs with sharing, probabilistic and stochastic reaction rules, conditional rules, rule priorities, instantiation maps, and parameterised controls.

The matching engine relies on external solvers. Build a solver instance with Solver.Make_SAT (for SAT solvers) or use Solver.GBS directly. Instantiate a reactive system by passing the solver to Brs.Make, Pbrs.Make, Sbrs.Make, or Abrs.Make.

All types derive JSON encoders and decoders. Graphical output is available in Graphviz (DOT) and TikZ (LaTeX) formats.

A tutorial walks through the main usage patterns.

Modules

External solvers

References