Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

MaxPlanarEdgesConstraint.h
Go to the documentation of this file.
1 
39 #pragma once
40 
43 
45 
46 namespace ogdf {
47 namespace cluster_planarity {
48 
50 #ifdef OGDF_DEBUG
51  friend class MaxCPlanarSub;
52  friend class CPlanarSub;
53 #endif
54 public:
55  //construction
56  MaxPlanarEdgesConstraint(abacus::Master *master, int edgeBound, List<NodePair> &edges);
57  MaxPlanarEdgesConstraint(abacus::Master *master, int edgeBound);
58 
59  //destruction
60  virtual ~MaxPlanarEdgesConstraint();
61 
62  //computes and returns the coefficient for the given variable
63  virtual double coeff(const abacus::Variable *v) const override;
64 
65 private:
68 };
69 
70 }
71 }
The master of the optimization.
Definition: master.h:69
MaxPlanarEdgesConstraint(abacus::Master *master, int edgeBound, List< NodePair > &edges)
Declaration of the variable class for the Branch&Cut algorithm for the Maximum C-Planar SubGraph prob...
Forms the virtual base class for all possible constraints given in pool format.
Definition: constraint.h:56
Doubly linked lists (maintaining the length of the list).
Definition: List.h:39
constraint.
Forms the virtual base class for all possible variables given in pool format.
Definition: variable.h:59
The namespace for all OGDF objects.
Declaration of the master class for the Branch&Cut algorithm for the Maximum C-Planar SubGraph proble...
virtual double coeff(const abacus::Variable *v) const override
Returns the coefficient of the variable v in the constraint.