Article View: fa.caml
Article #70Re: ocamlgraph and cliquetree.ml, is it maintained?
From: xuân bách
Date: Mon, 27 Aug 2012 09:55
Date: Mon, 27 Aug 2012 09:55
52 lines
3012 bytes
3012 bytes
Vào 11:38:05 UTC+8 Thứ năm, ngày 17 tháng tám năm 2006, Henry Bigelow đã viết: > hi, > > does anyone know whether cliquetree.ml, a contrib to ocamlgraph, is > working? it seems like it contains bugs (see the demo below), and it > hasn't been updated for a few years. > > more generally, for those who want a graph library in ocaml, is > ocamlgraph the definitive one? and, what do you use for max > cardinality search and clique tree construction? > > thanks in advance for any hints. > > sincerely, > > henry > > > # #load "/home5/bigelow/src/ocamlgraph-0.97/graph.cma";; > # open Graph;; > # module G = Imperative.Graph.Abstract (struct type t = string end);; > # module CT = Cliquetree.CliqueTree(G);; > # let g = G.create ();; > val g : G.t = <abstr> > # let v1 = G.V.create "A";; > val v1 : G.V.t = <abstr> > # let v2 = G.V.create "B";; > val v2 : G.V.t = <abstr> > # G.add_vertex;; > - : G.t -> G.vertex -> unit = <fun> > # G.add_vertex g v1;; > - : unit = () > # G.add_vertex g v2;; > - : unit = () > # G.add_edge;; > - : G.t -> G.vertex -> G.vertex -> unit = <fun> > # G.add_edge g v1 v2;; > - : unit = () > # CT.mcs_clique;; > - : G.t -> G.V.t list * CT.CliqueTree.t * CT.CliqueTree.V.t = <fun> > # CT.mcs_clique g;; > Exception: Failure "last not set". > # CT.is_chordal g;; > Exception: Failure "last not set". Hi Henry, I got the same problem with cliquetree anhd MCS-M algorithm when using ocamlgraph. Did you fix that errors? Hope anyone can help. thanks a lot!
Technical Details
Message-ID:
<919f2fb0-cbcf-446a-a4e6-a283bbf54b8a@googlegroups.com>Path:
arc1-ca.pugleaf.net!a5ni17273pbv.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<1155785885.497188.310070@i42g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff861,9ba61bc425f1f855
X-Google-NewGroupId: yes
X-Google-Attributes: gidc0fe4b917e,domainid0,public,usenet
X-Google-Language: ENGLISH,UTF8
Received: by 10.66.74.69 with SMTP id r5mr2165714pav.12.1346061410307;
Mon, 27 Aug 2012 02:56:50 -0700 (PDT)
Path: arc1-ca.pugleaf.net!a5ni17273pbv.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From: xuân bách <pig28789@gmail.com>
Newsgroups: fa.caml
Subject: Re: ocamlgraph and cliquetree.ml, is it maintained?
Date: Mon, 27 Aug 2012 02:55:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 52
Message-ID: <919f2fb0-cbcf-446a-a4e6-a283bbf54b8a@googlegroups.com>
References: <1155785885.497188.310070@i42g2000cwa.googlegroups.com>
NNTP-Posting-Host: 137.132.241.252
Mime-Version: 1.0
X-Trace: posting.google.com 1346061410 15656 127.0.0.1 (27 Aug 2012 09:56:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 27 Aug 2012 09:56:50 +0000 (UTC)
In-Reply-To: <1155785885.497188.310070@i42g2000cwa.googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=137.132.241.252;
posting-account=pTc_hQkAAABG6gZgK3Q-xg7krg5axTxn
User-Agent: G2/1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable