Title:

# Graph Algorithms

Code:GAL
Ac.Year:2012/2013
Sem:Winter
Curriculums:
ProgrammeField/
Specialization
YearDuty
IT-MSC-2MBI-Elective
IT-MSC-2MBS-Elective
IT-MSC-2MGM-Elective
IT-MSC-2MIN-Elective
IT-MSC-2MIS-Elective
IT-MSC-2MMI-Elective
IT-MSC-2MMM-Compulsory
IT-MSC-2MPV-Elective
IT-MSC-2MSK1stCompulsory
Language of Instruction:Czech
Public info:http://www.fit.vutbr.cz/study/courses/GAL/public/
Credits:5
Completion:examination (written)
Type of
instruction:
Hour/semLecturesSeminar
Exercises
Laboratory
Exercises
Computer
Exercises
Other
Hours:3900013
ExamsTestsExercisesLaboratoriesOther
Points:60150025
Guarantor:Meduna Alexander, prof. RNDr., CSc. (DIFS)
Lecturer:Křivka Zbyněk, Ing., Ph.D. (DIFS)
Instructor:Křivka Zbyněk, Ing., Ph.D. (DIFS)
Zámečníková Eva, Ing. (DIFS)
Faculty:Faculty of Information Technology BUT
Department:Department of Information Systems FIT BUT

Learning objectives:
Familiarity with graphs and graph algorithms with their complexities.
Description:
This course discusses graph representations and graphs algorithms for searching (depth-first search, breadth-first search), topological sorting, graph components and strongly connected components, 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.
Knowledge and skills required for the course:
Algorithmic thinking.
Learning outcomes and competencies:
Fundamental ability to construct an algorithm for a graph problem and to analyze its time and space complexity.
Syllabus of lectures:

1. Introduction, algorithmic complexity, basic notions and graph reprezentations.
2. Graph searching, depth-first search, breadth-first search.
3. Topological sort, acyclic graphs.
4. Graph components, strongly connected components, examples.
5. Trees, minimal spanning trees, algorithms of Jarník and Borůvka.
6. Growing a minimal spanning tree, algorithms of Kruskal and Prim.
7. Single-source shortest paths, the Bellman-Ford algorithm, shortest path in DAGs.
8. Dijkstra's algorithm. All-pairs shortest paths.
9. Shortest paths and matrix multiplication, the Floyd-Warshall algorithm.
10. Flows and cuts in networks, maximal flow, minimal cut, the Ford-Fulkerson algorithm.
11. Matching in bipartite graphs, maximal matching.
12. Euler graphs and tours and Hamilton cycles.
13. Graph coloring.
Syllabus - others, projects and individual work of students:

1. Implementation of selected graph problems and presentation of solutions (principle, complexity, optimization) of given problems.
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. (More about the book)
• 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.
Study literature:

• Copy of lectures.
• T.H. Cormen, C.E. Leiserson, R.L. Rivest, Introduction to Algorithms, McGraw-Hill, 2002.
Controlled instruction:

A written mid-term exam, an evaluation of projects, and a final exam. The minimal number of points which can be obtained from the final exam is 25. Otherwise, no points will be assigned to a student.
Progress assessment:

A mid-term exam evaluation (max. 15 points) and an evaluation of projects (max. 25 points).