help me with this twisted shortest path problem.

Правка en1, от _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.

Теги #graph, shortest path

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _aditya 2018-04-02 13:54:04 417 Initial revision (published)