package kappa-library

  1. Overview
  2. Docs
Public internals of the Kappa tool suite. Use this package to use kappa as a lib

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.3.tar.gz
md5=1c9a8a0d79f085757817f90834e166f5
sha512=13ac40442940ba6e72d7dc5bf952e67443872f7bff63e9c76a3a699a6904c88696047fe04519b7ec6546371642f6ee7b0983117be302694aca15500b0df40de3

doc/kappa-library.mixtures/Kappa_site_graphs/User_graph/index.html

Module Kappa_site_graphs.User_graphSource

Sourcetype cc_port = {
  1. port_states : string list option;
    (*

    None means WHATEVER

    *)
}
Sourcetype site =
  1. | Port of cc_port
  2. | Counter of int
Sourcetype cc_site = {
  1. site_name : string;
  2. site_type : site;
}
Sourcetype cc_node = {
  1. node_type : string;
  2. node_id : int option;
  3. node_sites : cc_site array;
}
Sourcetype connected_component = cc_node option array array
Sourceval print_dot_cc : int -> Format.formatter -> connected_component -> unit
Sourceval write_connected_component : Buffer.t -> connected_component -> unit

Output a JSON value of type connected_component.

Sourceval string_of_connected_component : ?len:int -> connected_component -> string

Serialize a value of type connected_component into a JSON string.

  • parameter len

    specifies the initial length of the buffer used internally. Default: 1024.

Sourceval read_connected_component : Yojson.Safe.lexer_state -> Lexing.lexbuf -> connected_component

Input JSON data of type connected_component.

Sourceval connected_component_of_string : string -> connected_component

Deserialize JSON data of type connected_component.

OCaml

Innovation. Community. Security.