Don't import ogdf namespace
[TortoiseGit.git] / ext / OGDF / ogdf / cluster / CPlanarSubClusteredGraph.h
blob14fe7904d05f2d0a1e64ea1bd9302330a654fdca
1 /*
2 * $Revision: 2566 $
4 * last checkin:
5 * $Author: gutwenger $
6 * $Date: 2012-07-07 23:10:08 +0200 (Sa, 07. Jul 2012) $
7 ***************************************************************/
9 /** \file
10 * \brief Declaration of CPlanarSubClusteredGraph class.
12 * \author Karsten Klein
14 * \par License:
15 * This file is part of the Open Graph Drawing Framework (OGDF).
17 * \par
18 * Copyright (C)<br>
19 * See README.txt in the root directory of the OGDF installation for details.
21 * \par
22 * This program is free software; you can redistribute it and/or
23 * modify it under the terms of the GNU General Public License
24 * Version 2 or 3 as published by the Free Software Foundation;
25 * see the file LICENSE.txt included in the packaging of this file
26 * for details.
28 * \par
29 * This program is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
34 * \par
35 * You should have received a copy of the GNU General Public
36 * License along with this program; if not, write to the Free
37 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
38 * Boston, MA 02110-1301, USA.
40 * \see http://www.gnu.org/copyleft/gpl.html
41 ***************************************************************/
44 #ifdef _MSC_VER
45 #pragma once
46 #endif
48 #ifndef OGDF_CPLANAR_SUBCLUSTERED_GRAPH_H
49 #define OGDF_CPLANAR_SUBCLUSTERED_GRAPH_H
52 #include <ogdf/cluster/ClusterPlanRep.h>
53 #include <ogdf/internal/cluster/CPlanarSubClusteredST.h>
55 namespace ogdf {
57 //! Constructs a c-planar subclustered graph of the input on base of a spanning tree
58 class OGDF_EXPORT CPlanarSubClusteredGraph
61 public:
63 CPlanarSubClusteredGraph() { }
65 virtual void call(const ClusterGraph& CG, EdgeArray<bool>& inSub);
67 virtual void call(
68 const ClusterGraph& CGO,
69 EdgeArray<bool>& inSub,
70 List<edge>& leftOver);
72 //! Uses \a edgeWeight to compute clustered planar subgraph
73 virtual void call(
74 const ClusterGraph& CGO,
75 EdgeArray<bool>& inSub,
76 List<edge>& leftOver,
77 EdgeArray<double>& edgeWeight);
79 private:
81 //****************************************************
82 //data fields
84 //store status of original edge: in subclustered graph?
85 //also used to check spanning tree
86 EdgeArray<int> m_edgeStatus;
88 };//cplanarsubclusteredgraph
90 } // end namespace ogdf
93 #endif