package frenetic

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

Module Net.TopologySource

Sourcetype t
Sourcetype vertex
Sourceval sexp_of_vertex : vertex -> Ppx_sexp_conv_lib.Sexp.t
Sourceval vertex_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> vertex
Sourcetype edge
Sourceval sexp_of_edge : edge -> Ppx_sexp_conv_lib.Sexp.t
Sourceval edge_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> edge
Sourcetype port = int32
Sourceval sexp_of_port : port -> Ppx_sexp_conv_lib.Sexp.t
Sourceval port_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> port
Sourcemodule Vertex : VERTEX with type t = Node.t
Sourcemodule Edge : EDGE with type t = Link.t
Sourcemodule UnitWeight : WEIGHT with type t = int and type edge = Edge.t
Sourcemodule EdgeSet : Core_kernel.Set.S with type Elt.t = edge
Sourcemodule VertexSet : Core_kernel.Set.S with type Elt.t = vertex
Sourcemodule VertexHash : Core_kernel.Hashtbl.S with type key = vertex
Sourcemodule PortSet : Core_kernel.Set.S with type Elt.t = port
Sourceval copy : t -> t
Sourceval empty : unit -> t
Sourceval add_vertex : t -> Vertex.t -> t * vertex
Sourceval add_port : t -> vertex -> port -> t
Sourceval add_edge : t -> vertex -> port -> Edge.t -> vertex -> port -> t * edge
Sourceval num_vertexes : t -> int
Sourceval num_edges : t -> int
Sourceval vertexes : t -> VertexSet.t
Sourceval edges : t -> EdgeSet.t
Sourceval neighbors : t -> vertex -> VertexSet.t
Sourceval find_edge : t -> vertex -> vertex -> edge
Sourceval find_all_edges : t -> vertex -> vertex -> EdgeSet.t
Sourceval vertex_to_ports : t -> vertex -> PortSet.t
Sourceval next_hop : t -> vertex -> port -> edge option
Sourceval edge_src : edge -> vertex * port
Sourceval edge_dst : edge -> vertex * port
Sourceval inverse_edge : t -> edge -> edge option
Sourceval vertex_to_string : t -> vertex -> string
Sourceval vertex_to_label : t -> vertex -> Vertex.t
Sourceval vertex_of_label : t -> Vertex.t -> vertex
Sourceval edge_to_string : t -> edge -> string
Sourceval edge_to_label : t -> edge -> Edge.t
Sourceval iter_succ : (edge -> unit) -> t -> vertex -> unit
Sourceval iter_vertexes : (vertex -> unit) -> t -> unit
Sourceval iter_edges : (edge -> unit) -> t -> unit
Sourceval fold_vertexes : (vertex -> 'a -> 'a) -> t -> 'a -> 'a
Sourceval fold_edges : (edge -> 'a -> 'a) -> t -> 'a -> 'a
Sourceval remove_vertex : t -> vertex -> t
Sourceval remove_port : t -> vertex -> port -> t
Sourceval remove_edge : t -> edge -> t
Sourceval remove_endpoint : t -> (vertex * port) -> t
OCaml

Innovation. Community. Security.