From 6208c48407c359819945730006edf4c402b7ff77 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Wed, 16 Jul 2014 20:58:06 +0200
Subject: rm dead, debug code
---
fast/hypergraph.cc | 15 ---------------
1 file changed, 15 deletions(-)
(limited to 'fast/hypergraph.cc')
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& nodes, list::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& nodes, list::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;
- }*/
}
}
}
--
cgit v1.2.3