Commit 23b86b8
authored
View paper (#124)
* Add D3129 views update strategy document
* views_update_strategy: resolve all Section 5 open questions (Q1–Q7)
* Add views update plan; update strategy Q4 with C++23/C++20 backward compat and D3126 cross-paper note
* Phase A: Rewrite D3129 source files — info structs → data structs
* Phase B: Rewrite data structs section — tables, examples, prose
* Phase C: Update graph view sections — data structs, bindings, 2-arg VVF/EVF
* Apply naming convention: u/uid=source, v/vid=target, uv=edge
Fix views.tex bindings: incidence [vid,uv], neighbors [vid,v],
edgelist [uid,vid,uv], search example [uid,u].
Update plan: add naming convention section, fix Phase C/E/F/G
binding examples, mark Phases A-C done.
* Phase D: Update search common types — member functions, search_view concept
Replace free functions (cancel, depth, size) with member functions
(cancel(), depth(), num_visited()). Add search_view concept. Remove
sourced views paragraph. Update code example to member syntax.
* Phase E: Update DFS/BFS views — remove sourced, descriptor-based return
Update DFS and BFS tables: source→seed, vertex_info→vertex_data,
edge_info→edge_data, remove sourced_edges rows, update bindings
([u], [u,val], [uv], [uv,val]). Remove all phil notes. Add design
note explaining descriptor-based return (VId=void).
* Phase F: Update topological sort — all-vertex, _safe factories, remove sourced
Remove source parameter (all-vertex traversal). Remove sourced rows.
Update bindings ([u], [u,val], [uv], [uv,val]) and types
(vertex_data, edge_data). Add _safe factory table returning
std::expected for cycle detection. Note cancel_branch == cancel_all.
Remove phil notes.
* Phase G: Add basic views, in_ variants, transpose, pipe syntax, VVF/EVF concepts
* Phase H: Prose audit — cleanup phil notes, rename all obsolete types
* Phase I: Update revision history and config for D3129r3
* Phase J: Cross-paper fixups — conventions.tex VVF/EVF, D3126 C++23 note
* Update plan: mark Phase J complete
* Add mapped_algo_strategy.md for D3128 mapped container update
* Add mapped_algo_plan.md for D3128 mapped container update
* mapped_algo_plan: fold confirmed decisions, collapse to 4 phases
* D3128 Phase 1: add vertex_property_map concept section, remove stale note
* D3128 Phase 2: index_adjacency_list -> adjacency_list (BFS, DFS, topo sort, TC, Jaccard, MIS, find_negative_cycle)
* D3128 Phase 3: vertex_property_map_for requires clauses (Dijkstra, Bellman-Ford, Prim, LP, components)
* D3128 Phase 4: prop-map preconditions, Kosaraju bidir upgrade, mapped graph example
- 4A (algorithms.tex): replace size-based preconditions/throws with
vertex-property-map-neutral wording in Dijkstra, Bellman-Ford, Connected
Components, Afforest, Kosaraju, and Prim; add remarks referencing
vertex_property_map_for and §Vertex Property Map Concept; fix Prim
range_value_t -> vertex_property_map_value_t; fix Tarjan note concept name
- 4C (connected_components.hpp): upgrade Kosaraju bidir overload from
index_bidirectional_adjacency_list to bidirectional_adjacency_list
- 4D: add dijkstra_example_mapped.hpp showing Dijkstra on a mapped graph
(string vertex IDs via uov_graph_traits) and reference it from algorithms.tex1 parent 4365230 commit 23b86b8
38 files changed
Lines changed: 3188 additions & 486 deletions
File tree
- D3126_Overview/tex
- D3128_Algorithms
- src
- tex
- D3129_Views
- src
- tex
- agents
- tex
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | | - | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments