[cl-graph-devel] find-connected-components gives error at subgraph-containing

Gary King gwking at metabang.com
Tue Apr 26 22:42:40 UTC 2011


Hi Deepak,

> When I try to find the connected components, it gives an error saying no applicable method for generic function subgraph-containing. I am not an expert in CLOS, hence any pointers appreciated. 
> 

I don't think this is a CLOS problem. Several years ago when I was trying to reorganize and simplify cl-graph, I pulled the subgraph-containing code out into a separate system that requires moptilities:

> #+asdf-system-connections
> (asdf:defsystem-connection cl-graph-and-moptilities
>   :requires (cl-graph moptilities)
>   :components ((:module 
> 		"dev"
> 		:components
> 		((:file "subgraph-containing")))))
> 

There are a bunch of reasons subgraph-containing isn't loaded:

* moptilities isn't around
* asdf-system-connections isn't around
* asdf-system-connections doesn't work with the latest ASDF (it may but I know I haven't tested it myself :-()

So the first thing I'd do is see if subgraph-containing.cl has been compiled and loaded. If not, then that's probably the source of the error message you're seeing. To fix it, you should get moptilities and then load them and maybe load subgraph-containing.cl by hand.

Let me know how it goes,

thanks,

> http://deepaksurti.com
> You want to see a miracle. Then be the miracle.

That's a great tag-line! 

--
Gary Warren King, metabang.com 
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-graph-devel/attachments/20110426/e075545a/attachment.html>


More information about the cl-graph-devel mailing list