Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
EdgeComparerSimple.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
48
#ifdef _MSC_VER
49
#pragma once
50
#endif
51
52
53
#ifndef OGDF_EDGECOMPARER_SIMPLE_H
54
#define OGDF_EDGECOMPARER_SIMPLE_H
55
56
57
58
#include <
ogdf/planarity/PlanRep.h
>
59
#include <
ogdf/basic/GraphAttributes.h
>
60
61
namespace
ogdf {
62
63
64
65
class
OGDF_EXPORT
EdgeComparerSimple
:
public
VComparer
<adjEntry>
66
{
67
public
:
68
69
EdgeComparerSimple
(
const
GraphAttributes
& AG,
const
node
v) : basis(v), m_AG(&AG) { }
70
71
int
compare(
const
adjEntry
&e1,
const
adjEntry
&e2)
const
;
72
73
private
:
74
node
basis
;
75
const
GraphAttributes
*
m_AG
;
76
77
};
//EdgeComparerSimple
78
79
80
}
//namespace ogdf
81
82
#endif
ogdf
basic
EdgeComparerSimple.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH