Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

basics.h
Go to the documentation of this file.
1 
35 #pragma once
36 
37 #include <ogdf/lib/abacus/master.h>
39 #include <ogdf/basic/Graph_d.h>
42 
43 namespace ogdf {
44 namespace cluster_planarity {
45 
46 class ChunkConnection;
47 
50 struct edgeValue {
53  double lpValue;
54  bool original;
56 };
57 
60 public:
61  BaseConstraint(abacus::Master *master, const abacus::Sub *sub, abacus::CSense::SENSE sense, double rhs, bool dynamic, bool local, bool liftable) :
62  abacus::Constraint(master, sub, sense, rhs, dynamic, local, liftable) { }
63 
64  virtual ~BaseConstraint() { }
65 
66  virtual int coeff(const NodePair& n) const = 0;
67  virtual double coeff(const abacus::Variable *v) const = 0;
68 };
69 
70 }
71 }
Derived class of GraphObserver providing additional functionality to handle clustered graphs...
The master of the optimization.
Definition: master.h:69
BaseConstraint(abacus::Master *master, const abacus::Sub *sub, abacus::CSense::SENSE sense, double rhs, bool dynamic, bool local, bool liftable)
Definition: basics.h:61
Struct for attaching the current lp-value to the corresponding edge. Used in the primal heuristic...
Definition: basics.h:50
The subproblem.
Definition: sub.h:68
the master of the optimization.
Basic constraint type.
Definition: basics.h:59
Forms the virtual base class for all possible constraints given in pool format.
Definition: constraint.h:56
constraint.
Class for the representation of edges.
Definition: Graph_d.h:291
Class for the representation of nodes.
Definition: Graph_d.h:167
Forms the virtual base class for all possible variables given in pool format.
Definition: variable.h:59
Pure declaration header, find template implementation in Graph.h.
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
The namespace for all OGDF objects.