Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

SyncPlanConsistency.h
Go to the documentation of this file.
1 
31 #pragma once
32 
33 #include <ogdf/basic/basic.h>
35 
36 #include <string>
37 
38 namespace ogdf::sync_plan {
39 class SyncPlan;
40 
45  int checkCounter = 0;
46 
47 public:
48  static bool doWriteOut;
49 
50  explicit SyncPlanConsistency(SyncPlan& _pq) : pq(_pq), draw(&_pq) {};
51 
52  bool consistencyCheck(bool force_check_components = false);
53 
54  void writeOut(std::string name = "", bool format = true, bool components = true);
55 
56  void checkComponentRegeneration();
57 
58  int getCheckCounter() const { return checkCounter; }
59 };
60 }
ogdf::sync_plan
Definition: clustering.h:44
ogdf::sync_plan::SyncPlanConsistency::getCheckCounter
int getCheckCounter() const
Definition: SyncPlanConsistency.h:58
ogdf::sync_plan::SyncPlanDrawer
Utilities by dumping a drawing of the current state of a SyncPlan instance.
Definition: SyncPlanDrawer.h:67
ogdf::sync_plan::SyncPlan
A class for modelling and solving Synchronized Planarity instances.
Definition: SyncPlan.h:123
ogdf::sync_plan::SyncPlanConsistency
Consistency checks for debugging the SyncPlan algorithm.
Definition: SyncPlanConsistency.h:42
ogdf::sync_plan::SyncPlanConsistency::draw
SyncPlanDrawer draw
Definition: SyncPlanConsistency.h:44
SyncPlanDrawer.h
Utilities by dumping a drawing of the current state of a SyncPlan instance.
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::sync_plan::SyncPlanConsistency::doWriteOut
static bool doWriteOut
Definition: SyncPlanConsistency.h:48
ogdf::sync_plan::SyncPlanConsistency::pq
SyncPlan & pq
Definition: SyncPlanConsistency.h:43
ogdf::sync_plan::SyncPlanConsistency::SyncPlanConsistency
SyncPlanConsistency(SyncPlan &_pq)
Definition: SyncPlanConsistency.h:50