projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics + added comments.
[mtp.git]
/
mtp_graph.cc
diff --git
a/mtp_graph.cc
b/mtp_graph.cc
index
c456601
..
6ce84c4
100644
(file)
--- a/
mtp_graph.cc
+++ b/
mtp_graph.cc
@@
-24,7
+24,6
@@
#include "mtp_graph.h"
#include "mtp_graph.h"
-// #include <iostream>
#include <float.h>
using namespace std;
#include <float.h>
using namespace std;
@@
-161,9
+160,6
@@
void MTPGraph::print_dot(ostream *os) {
(*os) << " " << _sink->id << " [peripheries=2];" << endl;
for(int k = 0; k < _nb_edges; k++) {
Edge *e = _edges + k;
(*os) << " " << _sink->id << " [peripheries=2];" << endl;
for(int k = 0; k < _nb_edges; k++) {
Edge *e = _edges + k;
- // (*os) << " " << e->origin_vertex->id << " -> " << e->terminal_vertex->id
- // << ";"
- // << endl;
(*os) << " " << e->origin_vertex->id << " -> " << e->terminal_vertex->id
<< " [";
if(e->occupied) {
(*os) << " " << e->origin_vertex->id << " -> " << e->terminal_vertex->id
<< " [";
if(e->occupied) {