Shortest Path Modeling
Shortest Path Modeling
MODELING
- BY SUSHMITHA Y S
INTRODUCTIO
N
o Shortest path modeling
involves finding the most
efficient route between
two points in a network.
o Shortest path algorithm
operates on graphs ,
which consist of
nodes(representing
locations) and
edges(representing
connections or routes).
o Edges can have weights ,
representing the cost or
distance associated with
that edge.
ALGORITHMS FOR SHORTEST PATH MODELING :
Dijkstra’s Algorithm: Finds the shortest paths from a starting node
to all other reachable nodes in a graphs with non negative edge
weights.
2.Output : A shortest path from s to v and penultimate vertex pv for every vertex v