#include #include #include #include #include using namespace ogdf; int main(int n_args, char** args) { if (n_args!= 3) { printf("\n usage: %s \n\n", args[0]); exit(-1); } /* read graph from file */ FILE* fp = fopen(args[1],"r"); int n,m; fscanf(fp,"%d %d",&n,&m); Graph G; node* vertex = new node[n]; for(int i=0;isource()->index(); int y=e->target()->index(); if(!found[x]){found[x]=1;vertexStack[SP++]=x;} if(!found[y]){found[y]=1;vertexStack[SP++]=y;} if(tricComp.m_pGC->original(e)) { n_realEdges++; count[e->source()->index()]--; count[e->target()->index()]--; } } for(int t=0;t time_span = duration_cast>(t2 - t1); fp = fopen(args[2],"w"); for(int i=0;i