Commit 1072b2dd authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgbaalgos/tau03opt.hh, src/tgbaalgos/se05.hh: Correct

pseudo-code.  From Denis.
parent 42bc5941
2005-01-24 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/tau03opt.hh, src/tgbaalgos/se05.hh: Correct
pseudo-code. From Denis.
* src/tgbaalgos/gtec/gtec.cc: Fake statistics count to match
how the algorithm will behave once remove_component() is revamped.
......
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
......@@ -61,7 +61,8 @@ namespace spot
/// (it exists a predecessor p of s in st_blue and s != t and
/// the arc between p and s is accepting)) then
/// report cycle;
/// else if the edge (s,t) is accepting then
/// end if;
/// if the edge (s,t) is accepting then
/// call dfs_red(t);
/// end if;
/// end for;
......
......@@ -59,15 +59,14 @@ namespace spot
/// for all b in a do
/// weight[b] = weight[b] - 1;
/// end for;
/// else
/// Acc = s.acc U a;
/// if t.color == cyan &&
/// (Acc U support(weight -t.weight) U t.acc) == all_acc then
/// report a cycle;
/// else if Acc not included in t.acc then
/// t.acc := t.acc U Acc
/// call dfs_red(t, Acc);
/// end if;
/// end if;
/// Acc = s.acc U a;
/// if t.color == cyan &&
/// (Acc U support(weight - t.weight) U t.acc) == all_acc then
/// report a cycle;
/// else if Acc not included in t.acc then
/// t.acc := t.acc U Acc;
/// call dfs_red(t, Acc);
/// end if;
/// end for;
/// s.color = blue;
......@@ -78,10 +77,10 @@ namespace spot
/// for all t in post(s) do
/// let (s, l, a, t) be the edge from s to t;
/// if t.color == cyan &&
/// (Acc U support(weight -t.weight) U t.acc) == all_acc then
/// (Acc U support(weight - t.weight) U t.acc) == all_acc then
/// report a cycle;
/// else if t.color != white and Acc not included in t.acc then
/// t.acc := t.acc U Acc
/// t.acc := t.acc U Acc;
/// call dfs_red(t, Acc);
/// end if;
/// end for;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment