Course details
Graph Algorithms
GAL Acad. year 2017/2018 Winter semester 5 credits
This course discusses graph representations and graphs algorithms for searching (depth-first search, breadth-first search), topological sorting, graph components and strongly connected components, trees and minimal spanning trees, single-source and all-pairs shortest paths, maximal flows and minimal cuts, maximal bipartite matching, Euler graphs, and graph coloring. The principles and complexities of all presented algorithms are discussed.
Guarantor
Language of instruction
Completion
Time span
- 39 hrs lectures
- 13 hrs projects
Assessment points
- 60 pts final exam (written part)
- 15 pts mid-term test (written part)
- 25 pts projects
Department
Subject specific learning outcomes and competences
Fundamental ability to construct an algorithm for a graph problem and to analyze its time and space complexity.
Learning objectives
Familiarity with graphs and graph algorithms with their complexities.
Prerequisite knowledge and skills
Foundations in discrete mathematics and algorithmic thinking.
Study literature
- Text přednášek.
- T.H. Cormen, C.E. Leiserson, R.L. Rivest, Introduction to Algorithms, McGraw-Hill, 2002.
Fundamental literature
- T.H. Cormen, C.E. Leiserson, R.L. Rivest, Introduction to Algorithms, McGraw-Hill, 2002.
- J. Demel, Grafy, SNTL Praha, 1988.
- J. Demel, Grafy a jejich aplikace, Academia, 2002. (Více o knize)
- R. Diestel, Graph Theory, Third Edition, Springer-Verlag, Heidelberg, 2000.
- J.A. McHugh, Algorithmic Graph Theory, Prentice-Hall, 1990.
- J.A. Bondy, U.S.R. Murty: Graph Theory, Graduate text in mathematics, Springer, 2008.
- J.L. Gross, J. Yellen: Graph Theory and Its Applications, Second Edition, Chapman & Hall/CRC, 2005.
- J.L. Gross, J. Yellen: Handbook of Graph Theory (Discrete Mathematics and Its Applications), CRC Press, 2003.
Syllabus of lectures
- Introduction, algorithmic complexity, basic notions and graph representations.
- Graph searching, depth-first search, breadth-first search.
- Topological sort, acyclic graphs.
- Graph components, strongly connected components, examples.
- Trees, minimal spanning trees, algorithms of Jarník and Borůvka.
- Growing a minimal spanning tree, algorithms of Kruskal and Prim.
- Single-source shortest paths, the Bellman-Ford algorithm, shortest path in DAGs.
- Dijkstra's algorithm. All-pairs shortest paths.
- Shortest paths and matrix multiplication, the Floyd-Warshall algorithm.
- Flows and cuts in networks, maximal flow, minimal cut, the Ford-Fulkerson algorithm.
- Matching in bipartite graphs, maximal matching.
- Euler graphs and tours and Hamilton cycles.
- Graph coloring.
Progress assessment
Study evaluation is based on marks obtained for specified items. Minimimum number of marks to pass is 50.
Controlled instruction
Course inclusion in study plans