Collection-Graphs and Morphic-Graphs

Luciano Notarfrancesco lnotarfrancesco at yahoo.com
Fri Sep 19 18:35:38 UTC 2003


Hi Samir,
This is great! Thanks for continuing this project!
I'll try it tonight and I'll update the SqueakMap
registration. I'll send you the password if you want
to help mantaining it.

Later,
Luciano.-

--- Samir Saidani <saidani at info.unicaen.fr> wrote:
> Hello
> 
> I've just made a monticello version of
> Collection-Graphs and
> Morphic-Graphs...
> Luciano, could you try this version and tell me if
> it seems ok to put
> it on squeakmap  ? Maybe could we find an ftp site
> or http/webdav somewhere ??
> Joshua, I took a quick look on your version, and
> your package seems
> quite different from the collection-graphs package.
> For instance,
> consider the creation of a graph in
> collection-graphs:
> 
> 	"Graph exampleGraph."
> 	| d |
> 	d _ self ordered.
> 	d addEdge: #r1 -> #n1.
> 	d addEdge: #r1 -> #n2.
> 	d addEdge: #r2 -> #n2.
> 	d addEdge: #n1 -> #n3.
> 	d addEdge: #n2 -> #n3.
> 	d addEdge: #n3 -> #r1.
> 	^ d
> 
> and in kgraph :
> 
> 	| nodes edges |
> 
> 	g1 _ KGraph new.
> 	nodes _ OrderedCollection new.
> 	edges _ OrderedCollection new.
> 	g1 setProperty: #createdNodes toValue: nodes.
> 	g1 setProperty: #createdEdges toValue: edges.
> 
> 	nodes add: (g1 newNode name: 'g1-1').
> 	nodes add: (g1 newNode name: 'g1-2').
> 	nodes add: (g1 newNode name: 'g1-3').
> 
> 	edges add: (nodes first ==> nodes second).
> 	edges add: (nodes second <== nodes third).
> 
> 
> It's not very intuitive ?? Do you think possible to
> merge this two
> project while keeping the intuitive graph creation
> in
> collections-graphs ?
> 
> 
> "Joshua 'Schwa' Gargus" <schwa at cc.gatech.edu>
> writes:
> 
> > Ok, my KGraph package is now on SqueakMap.  Most
> of the classes have
> > comments.  My approach to graph algorithms was
> inspired by the Boost
> > graph library, and defines hooks for specific
> events in each algorithm
> > that allow you to customize usage for your
> application.
> >
> > Joshua
> 
> 

> ATTACHMENT part 2 application/octet-stream 


> ATTACHMENT part 3 application/octet-stream 
> 
> 


=====
http://community.corest.com/~luciano
CCB0 B2B0 BCCB 8178 CA8B  4C08 AE9B D2F2 E9CC E897

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the Squeak-dev mailing list