[jgrapht-users] graphbuilder classes?
Brought to you by:
barak_naveh,
perfecthash
From: Joris K. <de...@gm...> - 2015-06-23 15:36:54
|
Hi, While browsing the source of jgrapht, I stumbled upon a series of classes involving a GraphBuilder, dated 12-Jan-2015: AbstractGraphBuilder.java DirectedGraphBuilderBase.java DirectedGraphBuilder.java DirectedWeightedGraphBuilderBase.java DirectedWeightedGraphBuilder.java UndirectedGraphBuilderBase.java UndirectedGraphBuilder.java UndirectedWeightedGraphBuilderBase.java UndirectedWeightedGraphBuilder.java a. Is there a particular reason I cannot find these classes in the javadoc linked from jgrapht's website: http://jgrapht.org/javadoc/. Could it be that the javadoc hasn't been updated with the latest release of jgrapht? b. Perhaps a bit of a sensitive point: I'm not entirely sure what these classes add to jgrapht? The majority of methods in these builder classes were already supported by the default graph classes, or through the Graphs class. The only new method I can really see is: 'addEdgeChain(V first, V second, V ... rest). I would recommend to add this method to the Graphs class, and, unless there's a valid use for these builder classes, consider to remove them from jgrapht. Joris |