# HG changeset patch # User Steve Losh # Date 1479656277 0 # Node ID 42f0410204e982926f84361aabdcab3ad2f69dec # Parent d4e05a2c0f010d7c311d84f5292750cfe9ac37a1 cl-digraph: Update site. diff -r d4e05a2c0f01 -r 42f0410204e9 cl-digraph/reference/index.html --- a/cl-digraph/reference/index.html Tue Nov 08 14:11:28 2016 +0000 +++ b/cl-digraph/reference/index.html Sun Nov 20 15:37:57 2016 +0000 @@ -30,8 +30,10 @@
  • DEGREE-OUT (function)
  • DIGRAPH (class)
  • EDGES (function)
  • +
  • EMPTYP (function)
  • INSERT-EDGE (function)
  • INSERT-VERTEX (function)
  • +
  • LEAFS (function)
  • MAKE-DIGRAPH (function)
  • MAP-BREADTH-FIRST (function)
  • MAP-DEPTH-FIRST (function)
  • @@ -46,6 +48,7 @@
  • REACHABLEP (function)
  • REMOVE-EDGE (function)
  • REMOVE-VERTEX (function)
  • +
  • ROOTS (function)
  • SUCCESSORS (function)
  • TOPOLOGICAL-SORT (function)
  • VERTICES (function)
  • @@ -111,6 +114,12 @@

    Return a fresh list of the edges of digraph.

    Each edge will be a cons of the form (predecessor . successor).

    +

    EMPTYP (function)

    +
    (EMPTYP DIGRAPH)
    +
    + + +

    Return t if digraph has no vertices or edges, nil otherwise.

    INSERT-EDGE (function)

    (INSERT-EDGE DIGRAPH PREDECESSOR SUCCESSOR)
     
    @@ -128,6 +137,14 @@

    Insert vertex into the graph if it is not already a member.

    Returns t if the vertex was already in the graph, or nil if it was inserted.

    +

    LEAFS (function)

    +
    (LEAFS DIGRAPH)
    +
    + + +

    Return all leaf vertices in digraph.

    +

    This is currently O(vertices).

    +

    A root is a vertex with no outgoing edges (i.e. out-degree 0).

    MAKE-DIGRAPH (function)

    (MAKE-DIGRAPH &KEY INITIAL-VERTICES (TEST #'EQL) (HASH-FUNCTION NIL))
     
    @@ -255,6 +272,14 @@

    Remove vertex from the graph if present.

    If there are any edges to/from vertex they will be automatically removed.

    Returns t if there was such a vertex, or nil if not.

    +

    ROOTS (function)

    +
    (ROOTS DIGRAPH)
    +
    + + +

    Return all root vertices in digraph.

    +

    This is currently O(vertices).

    +

    A root is a vertex with no incoming edges (i.e. in-degree 0).

    SUCCESSORS (function)

    (SUCCESSORS DIGRAPH VERTEX)