Open
Graph Drawing
Framework

 v.2012.07
 

Repulsion.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 #ifndef OGDF_REPULSION_H
53 #define OGDF_REPULSION_H
54 
55 
57 
58 
59 namespace ogdf {
60 
61 class Repulsion: public NodePairEnergy {
62 public:
63  //Initializes data structures to speed up later computations
65 private:
66  //computes for two vertices an the given positions the repulsive energy
67  double computeCoordEnergy(node, node, const DPoint&, const DPoint&) const;
68 };
69 
70 
71 }// namespace ogdf
72 
73 #endif