Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

GreedyCycleRemoval.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 #include <ogdf/basic/NodeArray.h>
36 
37 
38 namespace ogdf {
39 
40 
42 
47 public:
49 
51  virtual void call (const Graph &G, List<edge> &arcSet) override;
52 
53 private:
54  void dfs (node v, const Graph &G);
55 
56  int m_min, m_max, m_counter;
57 
58  NodeArray<int> m_in, m_out, m_index;
62 };
63 
64 
65 } // end namespace ogdf
The parameterized class Array implements dynamic arrays of type E.
Definition: Array.h:56
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Array< ListPure< node > > m_B
Class for the representation of nodes.
Definition: Graph_d.h:167
Declaration and implementation of NodeArray class.
Base class of algorithms for computing a maximal acyclic subgraph.
Greedy algorithm for computing a maximal acyclic subgraph.
NodeArray< bool > m_visited
NodeArray< ListIterator< node > > m_item
The namespace for all OGDF objects.
Declaration of interface for acyclic subgraph algorithms.