summaryrefslogtreecommitdiff
path: root/content/graph/reroot.cpp
diff options
context:
space:
mode:
authorflorian <uwnte@student.kit.edu>2024-08-29 17:39:06 +0200
committerflorian <uwnte@student.kit.edu>2024-08-29 17:39:06 +0200
commit8ba51e146ad9805f3e2c7e1698a9e604f1dd2379 (patch)
tree900549a117fd89de880d1ab98969b5bcb48acbd0 /content/graph/reroot.cpp
parent4d8f28ec2dceff1eed72c86463235407dc23d42b (diff)
todos
Diffstat (limited to 'content/graph/reroot.cpp')
-rw-r--r--content/graph/reroot.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/content/graph/reroot.cpp b/content/graph/reroot.cpp
index f908d52..b3571f1 100644
--- a/content/graph/reroot.cpp
+++ b/content/graph/reroot.cpp
@@ -3,14 +3,14 @@
// To remove weights, remove every "w" and "W" and fix errors
struct Reroot {
- using D = /todo/; // dp value
- using A = /todo/ (often D); // value from a vertex's child(ren)
- // (A,agg,e) commutative monoid
+ using D = /*todo*/; // dp value
+ using A = /*todo(often D)*/; //value from a vertex's child(ren)
+ //(A,agg,e) commutative monoid
- A e = /todo/;
- A fromChild(int v, int c, auto w, D dp_c) { /todo/ }
- static A agg(A a, A b) { /todo/ }
- D fin(int v, A chilsAgg) { /todo/ }
+ A e = /*todo*/;
+ A fromChild(int v, int c, auto w, D dp_c) { /*todo*/ }
+ static A agg(A a, A b) { /*todo*/ }
+ D fin(int v, A chilsAgg) { /*todo*/ }
vector<D> dp;