From: padma p. <pad...@ya...> - 2009-02-20 00:30:20
Hi,
I am looking into jgrapht and I want to include a function ContractVertices(v1, v2), Where the vertices are contracted. How do I do that..? Where do I insert the function..? I am in great need. Please help me out.
-Padma.
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
From: John V. S. <js...@gm...> - 2009-02-20 03:13:51
padma priya wrote:
> Hi,
> I am looking into jgrapht and I want to include a function
> ContractVertices(v1, v2), Where the vertices are contracted. How do I do
> that..? Where do I insert the function..? I am in great need. Please
> help me out.
Hello,
JGraphT doesn't currently have this, but an earlier library I worked on
(OpenJGraph) did. You can find the source code here:
http://www.koders.com/java/fidF340B43AD4227F71AB49FF3F2AA869B1119560A2.aspx?s=sort
I'll bet you can figure out how to port it to JGraphT.
JVS