Zhaolu

Zhao Lü

code · read · fitness

Posts
Portfolio
Photos
Teach
Travels
Talks & Patents

Recent Posts

  • Fire Detection: Heat, RGB, and a Viral BBQ Sign 2026-11-29
  • JavaFX click circles, events, and properties 2026-11-28
  • CMCC box for media streaming 2026-11-26
Read more posts →
CS Glossary / Weighted graph

Weighted graph

Also known as: Network with costs, Edge-weighted graph

A weighted graph assigns a numeric weight (length, time, cost, capacity) to each edge/arc. Pathfinding minimises (or maximises) the sum of weights along a path.

Input to Dijkstra/A*, min-cost flow, and assignment costs $c_{ij}$.

Related terms

  • Shortest path
  • Graph
  • Minimum cost flow
  • Edge
  • Arc

← Back to CS Glossary