I have a directed acyclic graph (DAG) with a weight associated with each node. I want to find the top 'n' (e.g. 5) most weighty paths, where a path's weight is defined as the sum of all the weights of it's nodes. How can I accomplish this?
Accuracy is desirable, but can be sacrificed for performance. Potentially, the graph can have 10,000+ nodes and/or edges.
Edit: Weights will be numbers greater than or equal to zero.