Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (37 sloc) 653 Bytes
(defpackage :digraph
(:use :cl :digraph.quickutils)
(:export
:digraph
:make-digraph
:emptyp
:vertices
:edges
:roots
:leafs
:rootp
:leafp
:predecessors
:successors
:neighbors
:contains-vertex-p
:contains-edge-p
:insert-vertex
:insert-edge
:remove-edge
:remove-vertex
:degree
:degree-in
:degree-out
:count-vertices
:count-edges
:mapc-vertices
:mapc-edges
:map-vertices
:map-edges
:map-depth-first
:map-breadth-first
:mapc-depth-first
:mapc-breadth-first
:topological-sort
:reachablep
:copy-digraph))