package kappa-library

  1. Overview
  2. Docs

A node of a site graph

type t = int * int

agent_id * agent_type

val make : id:int -> sort:int -> t
val compare : t -> t -> int
val sort : t -> int
val id : t -> int
val print : ?sigs:Signature.s -> with_id:bool -> Format.formatter -> t -> unit
val print_site : ?sigs:Signature.s -> t -> Format.formatter -> int -> unit
val print_internal : ?sigs:Signature.s -> t -> int -> Format.formatter -> int -> unit
val print_raw_internal : ?sigs:Signature.s -> t -> int -> Format.formatter -> int -> unit
val rename : debug_mode:bool -> Kappa_data_structures.Renaming.t -> t -> t
val json_dictionnary : string
val write_json : Buffer.t -> t -> unit
val to_json : t -> Yojson.Basic.t
val of_json : Yojson.Basic.t -> t
OCaml

Innovation. Community. Security.