- The course cannot be taken simultaneously with:
- Algorithms and Graphs 2 (BI-AG2)
- Department of Theoretical Computer Science
Students get an overview of typical usages of graph models in computing. They learn algorithmic methods of solution of graph problems, using the programming techniques presented in the BI-EFA module. They understand algorithms for the key application domains of graph theory (flows in networks, heuristic search, approximation of complex problems, matching problems). Students get basic competence in computer science background: they understand Turing machine models and issues of NP-completeness and NP-hardness.
We assume a working knowledge of basic abstract data types, its efficient implementation and application to solve graph problems. Students are assumed to have a passive knowledge of basic proof techniques used in mathematics (proof by induction, by contradiction, constructive) and apart from being able to design a new or modify an existing algorithm, they should be able to analyse its complexity.
- Syllabus of lectures:
1. Graph models, graphs, isomorphism. Degree, connectedness, components, digraphs.
2. Strong connectedness, acyclic graphs, graph representation and traversal. Depth-first traversal, topologic sort, strong components.
3. Euler graphs, dominating and independent sets, graph coloring, distance. Trees, spanning trees, circuits, minimal spanning trees.
4. Shortest paths, algorithms for 1 ? n shortest paths. Algorithms for 1 ? n shortest paths, planarity.
5. Flows in networks, maximum flow algorithm. Cheapest circulation, matchings, assignment problem.
6. Problem state space, heuristic search. Turing machines.
7. Complexity classes, NP-complete problems. Approximation algorithms.
- Syllabus of tutorials:
1. Induction, recursion, recurrence. Trees and their computer representation, tree traversals. Graph properties (isomorfism, connectedness, components, node degrees). Strong connectedness, decomposition into strong components, topological sort. Computer graph representations and traversals. Eulerian trail, Chinese postman problem, semestral work selection. Independence, dominance, chromatic number, cyclomatic number.
2. Trees, spanning trees and minimal spanning trees. Shortest paths. Shortest paths, planarity, semestral work (consultation). Flows in networks, circulations, matchings. Heuristic search algorithms. Turing machines.
- Study Objective:
Graph models and related graph algorithms belong to a basic theoretical framework that has a number of applications both in computing and other domains. The aim of this course is to develop the abilities needed in order to recognize which graph model is appropriate and which algorithm should be used when solving a specific problem. It also builds some useful habits as how to find or estimate bounds of algorithmic complexity or limits of practical solvability of some types of problems.
- Study materials:
1. Kolář, J. ''Theoretical Computer Science''. Praha: ČVUT, 1998. ISBN 80-01-01788-5.
3. Cormen, T. H., Leiserson, C. E., Rivest, R. L. ''Introduction to Algorithms''. The MIT Press, 2001. ISBN 0262032937.
4. Sedgewick, R. ''Algorithms in Java, Part 5: Graph Algorithms (3rd Edition)''. Addison-Wesley Professional, 2003. ISBN 0201361213.
- Further information:
- No time-table has been prepared for this course
- The course is a part of the following study plans:
- Information Technology (Presented in Czech), Version 2014 (elective course)
- Computer Science (Presented in Czech), Version 2014 (compulsory course of the specialization, elective course)
- Bc. Programme Informatics, Part -Time Form of Study, in Czech, Version 2015 - 2019 (VO)
- Bc Branch Security and Information Technology, Part-Time Form, in Czech, Version 2015 to 2019 (elective course)
- Bc.Branch WSI, Specialization Software Engineering, Part-Time Form, Versionverze 2015 - 2019 (elective course)