https://svn.lrde.epita.fr/svn/oln/trunk/milena/sandbox
Index: ChangeLog
from Ugo Jardonnet <ugo.jardonnet(a)lrde.epita.fr>
Mark bad test in nwst.
* jardonnet/n_cmpt/nwst.hh: Wrong shed test.
* jardonnet/n_cmpt/n_cmpt5.hh: Beautify.
n_cmpt5.hh | 10 +---------
nwst.hh | 2 +-
2 files changed, 2 insertions(+), 10 deletions(-)
Index: jardonnet/n_cmpt/nwst.hh
--- jardonnet/n_cmpt/nwst.hh (revision 3030)
+++ jardonnet/n_cmpt/nwst.hh (working copy)
@@ -157,7 +157,7 @@
}
// mark limit point
- if (parent(p) != parent(n))
+ if (parent(p) != parent(n)) // wrong
wst(p) = literal::red;
}
}
Index: jardonnet/n_cmpt/n_cmpt5.hh
--- jardonnet/n_cmpt/n_cmpt5.hh (revision 3030)
+++ jardonnet/n_cmpt/n_cmpt5.hh (working copy)
@@ -186,15 +186,7 @@
mln_bkd_piter(S) p(sp);
for_all(p)
if (parent(p) == p) // p is root.
- {
- //FIXME: if minimas have same values. Components are not visible.
- //Using min_v instead of ima does not really fix it.
- //see propagation of min_v values.
- //Maybe this is only a part of the problem:
- // n_cmpt4 claims that n components remain,
- // which is visually false.
- output(p) = iota(p) * 10; //(p[0] + p[1]) * 10;
- }
+ output(p) = iota(p) * 10;
else
output(p) = output(parent(p));
}