Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
Overlap.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
50
#ifdef _MSC_VER
51
#pragma once
52
#endif
53
54
#ifndef OGDF_OVERLAP_H
55
#define OGDF_OVERLAP_H
56
57
58
#include <
ogdf/internal/energybased/NodePairEnergy.h
>
59
60
61
namespace
ogdf {
62
63
64
class
Overlap
:
public
NodePairEnergy
{
65
public
:
66
//Initializes private data structures
67
Overlap
(
GraphAttributes
&AG);
68
~Overlap
() { }
69
private
:
70
//computes for two vertices at the given position the overlap energy
71
double
computeCoordEnergy
(
node
,
node
,
const
DPoint
&,
const
DPoint
&)
const
;
72
};
73
74
75
}
// namespace ogdf
76
#endif
ogdf
internal
energybased
Overlap.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH