diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-16 20:58:06 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-16 20:58:06 +0200 |
commit | 6208c48407c359819945730006edf4c402b7ff77 (patch) | |
tree | d7e864fee1569176293f923aad04c6e1b903ce9c /fast | |
parent | df8ed8821287fc8172cace28e09c2cac9823bb8a (diff) |
rm dead, debug code
Diffstat (limited to 'fast')
-rw-r--r-- | fast/hypergraph.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fast/hypergraph.cc b/fast/hypergraph.cc index 15b0a1f..44e060e 100644 --- a/fast/hypergraph.cc +++ b/fast/hypergraph.cc @@ -75,10 +75,6 @@ topological_sort(list<Node*>& nodes, list<Node*>::iterator root) (**p).mark = 0; // is_marked()==true auto to = nodes.begin(); while (to != nodes.end()) { - - for (auto it = nodes.begin(); it != nodes.end(); ++it) cout << (**it).id << " "; - cout << endl; - if ((**p).is_marked()) { // explore edges for (auto e = (**p).outgoing.begin(); e!=(**p).outgoing.end(); ++e) { @@ -94,17 +90,6 @@ topological_sort(list<Node*>& nodes, list<Node*>::iterator root) p = to; } else { ++p; - /*if (p == nodes.end()) { - for (auto e = (**to).outgoing.begin(); e!=(**to).outgoing.end(); ++e) { - // explore edges - (**e).mark++; - if ((**e).is_marked()) { - (**e).head->mark++; - } - } - to++; - p = to; - }*/ } } } |