lisp-algo/packages.lisp

27 lines
640 B
Common Lisp
Raw Permalink Normal View History

2019-02-24 10:30:57 +01:00
;;;; This file contains lisp-algos packages definitions
;;; Union-Find packages
(defpackage :com.lisp-algo.union-find
(:use :common-lisp)
(:nicknames :uf)
2019-02-24 20:33:55 +01:00
(:shadow :union)
(:export :union
:connected
:quick-find ; Class
:quick-union ; Class
:weighted-quick-union ; Class
:weighted-quick-union-path-compression ; Class
:network ; Accessor
:network-size ; Accessor
:quick-union))
2019-02-24 10:30:57 +01:00
;;; Unit tests
(defpackage :com.lisp-algo.test
(:use :common-lisp
:lisp-unit
:com.lisp-algo.union-find)
2019-02-24 20:33:55 +01:00
(:shadow :union)
(:export :get-row))
2019-02-24 10:30:57 +01:00