62 , m_heuristicOEdgeBound(0.4)
63 , m_heuristicNPermLists(5)
64 , m_kuratowskiIterations(10)
66 , m_kSupportGraphs(10)
67 , m_kuratowskiHigh(0.8)
68 , m_kuratowskiLow(0.8)
69 , m_perturbation(
false)
73 , m_numAddVariables(15)
74 , m_strongConstraintViolation(0.3)
75 , m_strongVariableViolation(0.3)
77 , m_optStatus(
abacus::Master::STATUS::Unprocessed)
81 , m_lpSolverTime(-1.0)
88 , m_numSubSelected(-1)
90 , m_portaOutput(
false)
91 , m_defaultCutPool(
true)
204 + 360000 * act.
hours();
205 return ((
double)
tempo) / 100.0;
Declaration of the CPlanarityMaster class for the Branch&Cut algorithm for c-planarity testing via an...
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
Declaration of ClusterPlanarModule which implements a c-planarity test.
Declares base class for all module types.
Declares base class for modules with timeout functionality.
STATUS
The various statuses of the optimization process.
Representation of clusters in a clustered graph.
Representation of clustered graphs.
C-planarity testing via completely connected graph extension.
void writeFeasible(const char *filename, CP_MasterBase &master, abacus::Master::STATUS &status)
Writes feasible solutions as a file in PORTA format.
int getNumSubSelected()
Returns number of subproblems selected by ABACUS.
virtual bool doTest(const ClusterGraph &G, NodePairs &addedEdges)
abacus::Master::STATUS m_optStatus
void setUpperRounding(double d)
void setNumberOfKuraIterations(int i)
void setHeuristicRuns(int i)
void setPortaOutput(bool b)
int getNumKCons()
Returns number of Kuratowski constraints added during computation.
void setHeuristicLevel(int i)
void setPerturbation(bool b)
void setNumberOfSupportGraphs(int i)
void setNumberOfSubDivisions(int i)
bool & useDefaultCutPool()
Use default abacus master cut pool or dedicated connectivity and kuratowski cut pools.
void setNumberOfPermutations(int i)
void setHeuristicBound(double d)
double m_strongVariableViolation
double getDoubleTime(const Stopwatch &act)
void outputCons(std::ofstream &os, abacus::StandardPool< abacus::Constraint, abacus::Variable > *connCon, abacus::StandardPool< abacus::Variable, abacus::Constraint > *stdVar)
void setTimeLimit(string s)
ClusterPlanarity()
Construction.
void setStrongConstraintViolation(double d)
void getBottomUpClusterList(const cluster c, List< cluster > &theList)
Stores clusters in subtree at c in bottom up order in theList.
double getSeparationTime()
int m_heuristicNPermLists
virtual bool isClusterPlanar(const ClusterGraph &CG) override
Returns c-planarity status of CG.
void setBranchingGap(double d)
int getNumVars()
Returns number of global variables. Todo: Real number from ABACUS.
const char * getPortaFileName()
void setLowerRounding(double d)
const char * getIeqFileName()
double m_strongConstraintViolation
int getNumCCons()
Returns number of connectivity constraints added during computation.
double m_heuristicOEdgeBound
bool isClusterPlanar(const ClusterGraph &CG, NodePairs &addedEdges)
Computes a set of edges that augments the subgraph to be completely connected and returns c-planarity...
void setStrongVariableViolation(double d)
solmeth & solutionMethod()
solmeth
Solution method, fallback to old version (allowing all extension edges, based on c-planar subgraph co...
solmeth m_solmeth
Solution method, see description of solmeth.
int getNumLPs()
Returns number of optimized LPs (only LP-relaxations)
int getNumBCs()
Returns number of generated LPs.
abacus::Master::STATUS getOptStatus()
void setNumAddVariables(int n)
virtual bool doTest(const ClusterGraph &CG) override
Performs a c-planarity test on CG.
Doubly linked lists (maintaining the length of the list).
Realizes a stopwatch for measuring elapsed time.
int64_t hours() const
Returns the currently elapsed time in hours.
int64_t centiSeconds() const
Returns the currently elapsed time in 1/100-seconds.
int64_t seconds() const
Returns the currently elapsed time in seconds.
int64_t minutes() const
Returns the currently elapsed time in minutes.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.