Open
Graph Drawing
Framework

 v.2012.07
 

GreedyCycleRemoval.h
Go to the documentation of this file.
1 /*
2  * $Revision: 2523 $
3  *
4  * last checkin:
5  * $Author: gutwenger $
6  * $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7  ***************************************************************/
8 
44 #ifdef _MSC_VER
45 #pragma once
46 #endif
47 
48 #ifndef OGDF_GREEDY_CYCLE_REMOVAL_H
49 #define OGDF_GREEDY_CYCLE_REMOVAL_H
50 
51 
52 
54 #include <ogdf/basic/NodeArray.h>
55 
56 
57 namespace ogdf {
58 
59 
61 
66 public:
68  void call (const Graph &G, List<edge> &arcSet);
69 
70 private:
71  void dfs (node v, const Graph &G);
72 
73  int m_min, m_max, m_counter;
74 
75  NodeArray<int> m_in, m_out, m_index;
79 };
80 
81 
82 } // end namespace ogdf
83 
84 
85 #endif