In graph theory, the shortest path problem finds a path between two vertices such that the weight of its edges is minimised. A few definitions:
- The problem operates on a weighted, directed graph .
- A weight function maps edges to weights, .
- The weight of path is the sum of the weights of each constituent edge from vertices .
The shortest path is given by the smallest weight, i.e., the shortest-path weight from to is defined as:
What possible applications does this have?
- Mapping software direction planning
- FPGA routing
- Integrated circuit gate connections
- Internetworking, to deliver information from one computer to another
Some shortest path algorithms include: