package ocamlgraph

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

Module ConcreteBidirectional.ESource

Edges have type E.t and are labeled with type E.label. src (resp. dst) returns the origin (resp. the destination) of a given edge.

Edges are ORDERED_TYPE.

Sourcetype t = V.t * V.t
Sourceval compare : t -> t -> int

Edges are directed.

Sourcetype vertex = vertex
Sourceval src : t -> vertex

Edge origin.

Sourceval dst : t -> vertex

Edge destination.

Edges are labeled.

Sourcetype label = unit
Sourceval create : vertex -> label -> vertex -> t

create v1 l v2 creates an edge from v1 to v2 with label l

Sourceval label : t -> label

Get the label of an edge.

OCaml

Innovation. Community. Security.