Commit 1016ba6
committed
D3128: fully specify triangle_count, directed_triangle_count, label propagation, and articulation points sections
- Triangle counting: new full spec for triangle_count (undirected) and
directed_triangle_count, with mandates, preconditions, effects,
returns, complexity, and remarks; corrected complexity from O(N^3)
to O(m^(3/2)); fixed characteristic tables as non-floating to prevent
drift; added directed_triangle_count.hpp prototype source file
- Label propagation: unified two separate itemdescr blocks into one;
added mandates, throws (std::bad_alloc), step-by-step effects,
expanded remarks; fixed Throws? No→Yes; documented empty_label
sentinel overload; removed requires clauses from lp.hpp prototype
- Articulation points: expanded description with Hopcroft-Tarjan DFS
explanation, disc/low-link definitions, root and non-root rules;
added mandates, throws, expanded effects and remarks; fixed Throws? No→Yes
- Fixed \tcode inside math mode errors throughout new sections1 parent df3fe9f commit 1016ba6
4 files changed
Lines changed: 234 additions & 95 deletions
File tree
- D3128_Algorithms
- src
- tex
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
16 | 14 | | |
| 15 | + | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments