Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

CrossingStructure.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 
36 namespace ogdf {
37 namespace embedder {
38 
40 {
41 public:
43 
45  void restore(PlanRep &PG, int cc);
46 
47  int numberOfCrossings() const { return m_numCrossings; }
49  const SListPure<int> &crossings(edge e) const { return m_crossings[e]; }
50 
51 private:
55 };
56 
57 }
58 }
Dynamic arrays indexed with edges.
Definition: EdgeArray.h:112
Light-weight version of a planarized representation, associated with a PlanRep.
Definition: PlanRepLight.h:44
void init(PlanRepLight &PG, int weightedCrossingNumber)
void restore(PlanRep &PG, int cc)
EdgeArray< SListPure< int > > m_crossings
Class for the representation of edges.
Definition: Graph_d.h:291
const SListPure< int > & crossings(edge e) const
Declaration of class PlanRepLight.
The namespace for all OGDF objects.
Planarized representations (of a connected component) of a graph.
Definition: PlanRep.h:60