Module Bigraph.Rs

Bigraphical reactive systems.

module type L = Rs_intf.L
module type Weighted = Rs_intf.Weighted
type nonrec rs_type = Rs_intf.rs_type =
  1. | BRS
    (*

    Bigraphical Reactive Systems

    *)
  2. | PBRS
    (*

    Probabilistic Bigraphical Reactive Systems

    *)
  3. | SBRS
    (*

    Stochastic Bigraphical Reactive Systems

    *)
  4. | ABRS
    (*

    Action (Nondeterministic) Bigraphical Reactive Systems

    *)
val pp_rs_type : Ppx_deriving_runtime.Format.formatter -> rs_type -> Ppx_deriving_runtime.unit
val show_rs_type : rs_type -> Ppx_deriving_runtime.string
type nonrec stats = Rs_intf.stats
type nonrec key_collision = Rs_intf.key_collision
type nonrec key_collisions = Rs_intf.key_collisions
val key_collisions_to_yojson : key_collisions -> Yojson.Safe.t
val pp_stats : Stdlib.Format.formatter -> stats -> unit
val stats_descr : stats -> (string * string * bool) list

Return a description of the execution statistics. It consists of a list of triples in the form (description, value, flag), where flag is true if the corresponding property changes across executions, e.g. build time.

val set_collect_stats : bool -> unit

Gate the gathering of the expensive statistics (internal, mean_size, mean_size_match, key_collisions). When false (the default) the O(n) state-size pass is skipped and the corresponding fields are filled with zero. The cheap fields (time, states, trans, occs) are always collected. Set true before a run whose stats will be reported (--debug-extra or --metrics-json).

module type RS = Rs_intf.RS
module Limit_int (R : sig ... end) : L with type label = R.label and type t = int

Discrete computation limit (integer steps) for Make.

module G_weighted (R : sig ... end) (F : Weighted with type label := R.label) : Ts.S with type label := R.label

Transition-system body shared by the weighted families Pbrs and Sbrs. F supplies the family descriptor: the name, the to_txt header, and the label printer and ordering (see Weighted).