Re: [jgrapht-users] need to include a function.
Brought to you by:
barak_naveh,
perfecthash
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 |