Add `reachablep`
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 08 Nov 2016 14:11:17 +0000 |
parents |
412a127b7419 |
children |
516585a909d0 |
(defpackage :digraph
(:use :cl :digraph.quickutils)
(:export
:digraph
:make-digraph
:vertices
:edges
: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))