Open
Graph Drawing
Framework

 v.2012.05
 

Overlap.h
Go to the documentation of this file.
00001 /*
00002  * $Revision: 2299 $
00003  * 
00004  * last checkin:
00005  *   $Author: gutwenger $ 
00006  *   $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $ 
00007  ***************************************************************/
00008  
00049 #ifdef _MSC_VER
00050 #pragma once
00051 #endif
00052 
00053 #ifndef OGDF_OVERLAP_H
00054 #define OGDF_OVERLAP_H
00055 
00056 
00057 #include <ogdf/internal/energybased/NodePairEnergy.h>
00058 
00059 
00060 namespace ogdf {
00061 
00062 
00063 class Overlap: public NodePairEnergy {
00064 public:
00065     //Initializes private data structures
00066     Overlap(GraphAttributes &AG);
00067     ~Overlap() {};
00068 private:
00069     //computes for two vertices at the given position the overlap energy
00070     double computeCoordEnergy(node,node, const DPoint&, const DPoint &) const;
00071 };
00072 
00073 
00074 }// namespace ogdf
00075 #endif