summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;