Open
Graph Drawing
Framework

 v.2012.05
 

TriconnectedShellingOrder.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  
00044 #ifdef _MSC_VER
00045 #pragma once
00046 #endif
00047 
00048 #ifndef OGDF_TRICONNECTED_SHELLING_ORDER_H
00049 #define OGDF_TRICONNECTED_SHELLING_ORDER_H
00050 
00051 
00052 #include <ogdf/module/ShellingOrderModule.h>
00053 
00054 
00055 namespace ogdf {
00056 
00057 //---------------------------------------------------------
00058 // Computation of a shelling order for a triconnected and
00059 // simple (no multi-edges, no self-loops) planar graph
00060 //---------------------------------------------------------
00061 class OGDF_EXPORT TriconnectedShellingOrder : public ShellingOrderModule
00062 {
00063 public:
00064     TriconnectedShellingOrder() {
00065         m_baseRatio = 0.33;
00066     }
00067 
00068 protected:
00069     // does the actual computation; must be overridden by derived classes
00070     // the computed order is returned in partition
00071     virtual void doCall(const Graph &G,
00072         adjEntry adj,
00073         List<ShellingOrderSet> &partition);
00074 
00075 };
00076 
00077 
00078 } // end namespace ogdf
00079 
00080 
00081 #endif