$Id: graph-container.lisp,v 1.12 2005/07/20 20:39:09 moody Exp $
-Copyright 1992 - 2003 Experimental Knowledge Systems Lab,
-University of Massachusetts Amherst MA, 01003-4610
-Professor Paul Cohen, Director
-
Author: Gary King
DISCUSSION
;;; ---------------------------------------------------------------------------
-#+COPYING
-(defcopy-methods graph-container-vertex :copy-all t)
-
-;;; ---------------------------------------------------------------------------
-
(defmethod make-vertex-edges-container ((vertex graph-container-vertex)
container-class &rest args)
(apply #'make-container container-class args))
;;; ---------------------------------------------------------------------------
-
(defmethod find-edge ((graph graph-container) (edge graph-container-edge)
&optional error-if-not-found?)
(find-edge-between-vertexes
(values nil))
+;;; ---------------------------------------------------------------------------
+
+(defmethod edge-count ((graph graph-container))
+ (size (graph-edges graph)))
-;;; ***************************************************************************
-;;; * End of File *
-;;; ***************************************************************************
\ No newline at end of file