package kappa-library

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.