Re: [jgrapht-users] Edmonds blossom-query
Brought to you by:
barak_naveh,
perfecthash
From: Szabolcs B. <bes...@gm...> - 2015-07-09 17:15:56
|
Create a simple Maven project and add jgrapht-core as dependency. After that you can simply test the EdmondsBlossomShrinking algorithm, where *g* is your graph of choice: EdmondsBlossomShrinking<Integer, DefaultEdge> matcher = new EdmondsBlossomShrinking<Integer, DefaultEdge>(g); Get the matching set and print it out: Set<DefaultEdge> match = matcher.getMatching(); for (DefaultEdge edge : match) { System.out.println(edge); } (I hope the formatting looks okay) Regards, Szabolcs 2015-07-09 18:20 GMT+02:00 Syed <ale...@ho...>: > Thanks, > > Can you tell how to see the matching results, it doesnt print anything. > > > Sorry for silly questions, i am totally new to this stuff. > > > > > -- > View this message in context: > http://jgrapht-users.107614.n3.nabble.com/Edmonds-blossom-query-tp4025012p4025014.html > Sent from the jgrapht-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > jgrapht-users mailing list > jgr...@li... > https://lists.sourceforge.net/lists/listinfo/jgrapht-users > |