順列・組合せ
数え上げの基本。
| 式 | 順序 | 例 | |
|---|---|---|---|
| 順列 | 区別する | 並べ方 | |
| 組合せ | 区別しない | 選び方 |
爆発の速さ#
の増え方が組合せ最適化の難しさの正体。
| 10 | |
| 20 | |
| 50 |
Stirling の近似 から、 指数よりも速く増えることが分かる。
TSP の経路数 、 部分集合の数 が全探索を不可能にし、 ヒューリスティックに頼る理由になっている。
二項定理#
二項分布の確率質量関数はこの各項。 和が 1 になるのは から直ちに従う。
参考文献#
- Kenneth H. Rosen. Discrete Mathematics and Its Applications, 8th ed. McGraw-Hill, 2019. https://www.mheducation.com/highered/product/discrete-mathematics-applications-rosen/M9781259676512.html
- MIT OCW 6.042J Mathematics for Computer Science https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/