How can we use Dijkstra's or Bellman–Ford's algorithm to find shortest path in a graph whose some of edges are affected if we go specific vertices. Such that, the affected edge's length will be more than or less than the original length.
Actually I thought of what you said before, but when I calculated my variations, i found more than 10^4 * 4^10000. So it will be very very unefficient.