diff options
| author | Loic Guegan <manzerberdes@gmx.com> | 2019-02-24 10:30:57 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerberdes@gmx.com> | 2019-02-24 10:30:57 +0100 |
| commit | 5725987c8dfd55d4ee0282f0a37779e06052f3c6 (patch) | |
| tree | d985acea2fdb3149804ea630c06662d5a8d0796c /packages.lisp | |
| parent | d0f6e2ff9cdf4c35e99b54fa765aca7f46ed6a24 (diff) | |
Re-organize code
Diffstat (limited to 'packages.lisp')
| -rw-r--r-- | packages.lisp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages.lisp b/packages.lisp new file mode 100644 index 0000000..62443df --- /dev/null +++ b/packages.lisp @@ -0,0 +1,35 @@ +;;;; This file contains lisp-algos packages definitions + +;;; Union-Find packages + +(defpackage :com.lisp-algo.union-find + (:use :common-lisp) + (:nicknames :uf) + ;; Quick-Find + (:export :qf-create-network + :qf-union + :qf-connected) + ;; Quick-Union + (:export :qu-create-network + :qu-union + :qu-connected) + ;; Weighted-Quick-Union + (:export :wqu-create-network + :wqu-create-network + :wqu-union + :wqu-connected) + ;; Weighted-Quick-Union with Path Compression + (:export :wqupc-create-network + :wqupc-create-network + :wqupc-union + :wqupc-connected)) + + +;;; Unit tests + +(defpackage :com.lisp-algo.test + (:use :common-lisp + :lisp-unit + :com.lisp-algo.union-find) + (:export :get-row)) + |
