The GATE Grind

GATE 2021 AR – Question 50

Urban Land Use and Transportation · Aggregate and disaggregate transport demand models and forecasting · 2 marks · Multiple select

Which algorithms find shortest paths in a transport network?

  1. Logit
  2. Huff
  3. Floyd–Warshall
  4. Dijkstra

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) Floyd–Warshall; (D) Dijkstra

Explanation

Floyd–Warshall computes shortest paths between all vertex pairs; Dijkstra computes shortest paths from a source under nonnegative edge weights. Thus C, D. Logit and Huff are choice/interaction models, not these shortest-path algorithms.

More Aggregate and disaggregate transport demand models and forecasting questions

All Aggregate and disaggregate transport demand models and forecasting questions →