Open
Description
Dear developers,
First; thank you for this library. Much leaner than boost :)
I use the Bellman Ford algorithm with negative edges to find the longest path in a directed graph. Great out of the box. For future work I would like to get the nodes that lie on the longest (or shortest) path. Think multiple jobs with (sequential) tasks on machines and finding the critical path. Might even get the delayed start times out as a result for all nodes.
I've been looking thru the source, and for starters I'm thinking of adding a vector of visited nodes or something to the results of the algorithm.
What would be the best way to work on this? Update the algorithm in the source code? Is there maybe a more general solution (already in the making)?
Best,
Bas
Activity