Re: [jgrapht-users] loops in simpleweighted graph
Brought to you by:
barak_naveh,
perfecthash
From: H.N. de R. <hnr...@gr...> - 2013-11-11 11:11:46
|
On Sun, Nov 10, 2013 at 10:43:10AM -0800, Hamideh Bakhtiari wrote: > I want to have loops in my simpleweightedgraph structure. any idea how to do that? You can't. A simple graph by definition has no loops. You'll need to use WeightedPseudoGraph which allows both loops and multi-edges. Ernst -- Information System on Graph Classes and their Inclusions (ISGCI) http://www.graphclasses.org |