teaching:ads22425_lecture
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
teaching:ads22425_lecture [2024/11/26 18:30] – Martin Koutecky | teaching:ads22425_lecture [2025/01/23 22:18] (aktuální) – Martin Koutecky | ||
---|---|---|---|
Řádek 16: | Řádek 16: | ||
| 18. 11. | Finish FFT algorithm. More notes on FFT. Begin parallel algorithms: fast addition. slides: [[https:// | | 18. 11. | Finish FFT algorithm. More notes on FFT. Begin parallel algorithms: fast addition. slides: [[https:// | ||
| 25. 11. | Cancelled; will be replaced Friday 29. 11. Plan: Parallel sorting. [[https:// | | 25. 11. | Cancelled; will be replaced Friday 29. 11. Plan: Parallel sorting. [[https:// | ||
- | | 2. 12. | //Plan: line segment intersections [[https:// | + | | 2. 12. | Line segment intersections [[https:// |
+ | | 9. 12. | Reductions: SAT, 3-SAT, IndSet, Clique, 3DM. [[https:// | ||
+ | | 16. 12. | Q&A about 3,3-SAT -> 3DM reduction. Classes P, NP; Cook's theorem. [[https:// | ||
+ | | 6. 1. | //Plan: Knapsack is solvable in pseudopolynomial time (=when input values are polynomially bounded). Approximation: | ||
- | /* | ||
- | | ||
- | |||
- | | 14. 12. | Reductions: SAT, 3-SAT, IndSet, Clique, 3DM. [[https:// | ||
- | | 21. 12. | 3,3-SAT reduces to 3DM. Classes P, NP; Cook's theorem. [[https:// | ||
- | | 4. 1. | Dealing with NP-hardness. IndSet is solvable on trees; coloring is solvable on interval graphs; Knapsack is solvable in pseudopolynomial time (=when input values are polynomially bounded). Approximation: | ||
- | */ | ||
Řádek 30: | Řádek 26: | ||
* {{ : | * {{ : | ||
- | /* | + | ====== ADS2 Exam / 2025 ====== |
- | + | ||
- | ====== ADS2 Exam / 2023 ====== | + | |
The exam will consist of: | The exam will consist of: | ||
Řádek 43: | Řádek 37: | ||
==== Grading ==== | ==== Grading ==== | ||
- | **To get a 3** it suffices to know definitions and algorithms / data structures and (with hints) finish at least one of the “type 2” tasks (perhaps suboptimally). | + | **To get a 3** it roughly |
**To get a 2** you need to be able to solve the tasks with some hints, or find a suboptimal (complexity) algorithm. If we proved some intermediate claims during the lecture, and these are used in the proofs of correctness/ | **To get a 2** you need to be able to solve the tasks with some hints, or find a suboptimal (complexity) algorithm. If we proved some intermediate claims during the lecture, and these are used in the proofs of correctness/ | ||
Řádek 49: | Řádek 43: | ||
**To get a 1** you need to analyze the algorithms (correctness and complexity) including the proofs, and you need to be able to solve the “type 2” tasks mostly independently. (Advice like “try dynamic programming” and similar is still fine though.) | **To get a 1** you need to analyze the algorithms (correctness and complexity) including the proofs, and you need to be able to solve the “type 2” tasks mostly independently. (Advice like “try dynamic programming” and similar is still fine though.) | ||
+ | ===== Cheating ===== | ||
+ | |||
+ | I am extremely annoyed by people trying to cheat at the exam, and if I see anything fishy that you don't satisfactorily explain at the moment, you have failed the exam, you will be reported, and you won't have another chance at taking the exam with me. **Don' | ||
+ | |||
+ | **Update Jan 21, 2025:** from now on the following rules apply at the exam: | ||
+ | |||
+ | - You sit at the very end of the work desk, and your phone is at the very other end of the desk. | ||
+ | - Nothing else except your phone, pen, food, and drink is allowed to be on your desk, in particular no bags or clothing. All bags and clothing are on the seats at the other end of the desk. | ||
+ | - The exam may be long, so if you know you'll need to eat, bring the food with you. You won't be able to go buy food or drink during the exam. There is a tap with drinking water in the room. | ||
+ | - You can go to the bathroom, but only one person is allowed to be out of the room at any given point in time, and when you leave and when you come again, you need to sign yourself into a sheet and record the time you left / came back. When you go to the bathroom, only go to the bathroom and don't talk with anyone else. If you do, I will consider it cheating automatically. | ||
===== Topics ===== | ===== Topics ===== | ||
- | **Disclaimer: | + | **Disclaimer: |
* String searching -- problem definition, basic notions and lemmas | * String searching -- problem definition, basic notions and lemmas | ||
Řádek 61: | Řádek 65: | ||
* Dinitz | * Dinitz | ||
* Goldberg | * Goldberg | ||
+ | * FFT: definitions, | ||
* Parallel Algorithms / Circuits | * Parallel Algorithms / Circuits | ||
* Fast Addition | * Fast Addition | ||
Řádek 67: | Řádek 72: | ||
* Convex Hull | * Convex Hull | ||
* Line Segment Intersections | * Line Segment Intersections | ||
- | * FFT: definitions, | ||
* Reductions | * Reductions | ||
* Definitions of most important NP-hard problems: SAT, IS, VC, Clique, 3DM, SubsetSum | * Definitions of most important NP-hard problems: SAT, IS, VC, Clique, 3DM, SubsetSum | ||
* P, NP, NP-complete, | * P, NP, NP-complete, | ||
- | * Cook's theorem | + | * Cook's theorem |
* Dealing with NP-hardness | * Dealing with NP-hardness | ||
* IndSet on Trees | * IndSet on Trees | ||
* Coloring of Interval Graphs | * Coloring of Interval Graphs | ||
- | * Approximation algorithms (definition) | + | * Approximation algorithms |
* $2$-approximation of $\Delta$-TSP | * $2$-approximation of $\Delta$-TSP | ||
* Non-existence of an $O(1)$-approximation for (unrestricted) TSP | * Non-existence of an $O(1)$-approximation for (unrestricted) TSP | ||
* Pseudopolynomial algorithm for Knapsack; FPTAS for Knapsack. | * Pseudopolynomial algorithm for Knapsack; FPTAS for Knapsack. | ||
- | |||
- | */ | ||
teaching/ads22425_lecture.1732642202.txt.gz · Poslední úprava: 2024/11/26 18:30 autor: Martin Koutecky