X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=dev%2Fpackage.lisp;h=47755423bbb237bd5856469ba1595846a50e1377;hb=18871eadb3f0704f6211e68fea61ed9043209885;hp=f879c852cc5821ed4e49c6d9583b5c6682bb06d8;hpb=438d1e0593dc62fe7b975a5865ec27955afcb7a1;p=cl-graph.git diff --git a/dev/package.lisp b/dev/package.lisp index f879c85..4775542 100644 --- a/dev/package.lisp +++ b/dev/package.lisp @@ -7,12 +7,12 @@ Author: Gary King, et. al. DISCUSSION |# -(in-package common-lisp-user) +(in-package #:common-lisp-user) -(defpackage "CL-GRAPH" - (:use "COMMON-LISP" "METATILITIES" "CL-CONTAINERS" - "METABANG.BIND" "METABANG.MATH") - (:nicknames "METABANG.GRAPH") +(defpackage #:cl-graph + (:use #:common-lisp #:metatilities #:cl-containers + #:metabang.bind #+(or) #:cl-mathstats #+(or) #:moptilities) + (:nicknames #:metabang.graph) (:documentation "CL-Graph is a Common Lisp library for manipulating graphs and running graph algorithms.") (:export @@ -79,6 +79,13 @@ DISCUSSION #:edge->dot #:graph->dot-properties #:subgraph-containing + #:graph->dot-external + #:dot-graph + #:dot-vertex + #:dot-edge + #:dot-attributes + #:layout-graph-with-graphviz + #:dot-attribute-value #:connected-graph-p #:find-connected-components @@ -89,7 +96,8 @@ DISCUSSION #:add-edge ; graph edge #:delete-edge ; graph edge - + #:delete-all-edges + #:add-vertex ; graph { value | vertex } #:delete-vertex ; graph { value | vertex } #:find-vertex ; graph { value | vertex } @@ -109,7 +117,9 @@ DISCUSSION #:has-children-p #:has-parent-p #:number-of-neighbors - + #:graph-vertexes + #:replace-vertex + #:edge-count ; graph #:vertex-count ; graph @@ -152,7 +162,8 @@ DISCUSSION #:project-bipartite-graph #:make-vertex-edges-container - + #:make-vertex-for-graph + #:vertex-degree-counts #:vertex-degree #:average-vertex-degree @@ -162,4 +173,16 @@ DISCUSSION #:graph-mixing-matrix #:graph-edge-mixture-matrix #:assortativity-coefficient - #:vertex-degree-summary)) \ No newline at end of file + #:vertex-degree-summary + #:connected-components + #:average-local-clustering-coefficient + #:vertex-triangle-count + #:graph-edges + #:graph-vertexes) + + (:export + #:print-dot-key-value + #:dot-attribute-value + #:dot-attributes-mixin + #:*dot-graph-attributes* + )) \ No newline at end of file