grafteori
Grafteori, or graph theory, is a branch of mathematics and computer science that studies graphs: abstract structures described by a set of vertices (nodes) connected by edges (links). A graph G is typically written as G=(V,E). Edges may be undirected or directed (digraphs), and can be weighted. Graphs can be simple (no parallel edges or loops) or multigraphs and may be planar or nonplanar.
Key notions include paths, cycles, and connectivity. The degree of a vertex counts incident edges. A graph
Core algorithmic topics: shortest path algorithms (Dijkstra, Bellman-Ford); all-pairs shortest paths (Floyd-Warshall). Minimum spanning trees (Prim,
History: Graph theory originated with Leonhard Euler's 1736 solution to the Königsberg bridge problem, which laid
Applications span computer networks, transportation and logistics, social networks, circuit design, chemistry, biology, and scheduling. Graph