91 int max_nodes_in_cluster = 0;
93 double prob_no_further_node = 0.1;
95 double prob_no_further_cluster = 0.0;
99 int min_root_nodes = 0;
101 bool cconnected =
false;
152 int node_per_cluster,
int edges_per_cluster);
169 int edges1,
int edges2);
181 double frac_shared = 0.34,
double frac_g1 = 0.33);
Includes declaration of graph class.
Basic declarations, included by all source files.
Representation of clustered graphs.
Data type for general directed graphs (adjacency list representation).
Class for the representation of nodes.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
A class for modelling and solving Synchronized Planarity instances.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
void randomClustering(ClusterGraph &C, int cNum)
Creates a random clustering for a given graph G.
void randomSEFEInstanceByUnionGraph(const Graph *sefe, EdgeArray< uint8_t > &edge_types, double frac_shared=0.34, double frac_g1=0.33)
Create a (simultaneously planar) 2-SEFE instance with a given union graph.
bool randomPlanarClustering(ClusterGraph &CG, const RandomClusterConfig &config)
Creates a random c-planar clustering for a given planar graph G.
void randomSEFEInstanceBySharedGraph(Graph *sefe, EdgeArray< uint8_t > &edge_types, int edges1, int edges2)
Create a (simultaneously planar) 2-SEFE instance with a given shared graph.
void randomClusterPlanarGraph(Graph &G, ClusterGraph &CG, int clusters, int node_per_cluster, int edges_per_cluster)
Create a random planar graph with a c-planar clustering.
void randomCConnectedClustering(ClusterGraph &C, int cNum)
Creates a random c-connected clustering for a given graph G.
void randomSyncPlanInstance(sync_plan::SyncPlan &pq, int pipe_count, int min_deg=3)
Create a random SynchronizedPlanarity instance by introducing pipe_count pipes between vertices of de...
The namespace for all OGDF objects.
Parameters for the randomPlanarClustering() method.
double expected_nodes() const
Get the expected number of nodes per cluster, i.e., 1.0 / prob_no_further_node.
void expected_nodes(double n)
Set the expected number of nodes per cluster, i.e., prob_no_further_node = 1.0 / n.
friend std::ostream & operator<<(std::ostream &os, const RandomClusterConfig &config)