help me with this twisted shortest path problem.

Revision en1, by _aditya, 2018-04-02 13:54:04

there are 'n' nodes and 'm' edges in a graph. each node may or may not contain certain number of a item. all nodes have same item but different number of that item.

we have to go from source to destination in minimum time collecting 'k' number of this item. each edge is weighted,weights may or may not be same. there are no self loops. edges are bidirectional.

Tags #graph, shortest path

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _aditya 2018-04-02 13:54:04 417 Initial revision (published)