static void merge2(graph_t * g);
static void init_mccomp(graph_t * g, int c);
static void cleanup2(graph_t * g, int nc);
-static int mincross_clust(graph_t * par, graph_t * g, int);
+static int mincross_clust(graph_t * g, int);
static int mincross(graph_t * g, int startpass, int endpass, int);
static void mincross_step(graph_t * g, int pass);
static void mincross_options(graph_t * g);
/* run mincross on contents of each cluster */
for (c = 1; c <= GD_n_cluster(g); c++) {
- nc += mincross_clust(g, GD_clust(g)[c], doBalance);
+ nc += mincross_clust(GD_clust(g)[c], doBalance);
#ifdef DEBUG
check_vlists(GD_clust(g)[c]);
check_order();
}
}
-static int mincross_clust(graph_t * par, graph_t * g, int doBalance)
+static int mincross_clust(graph_t * g, int doBalance)
{
int c, nc;
nc = mincross(g, 2, 2, doBalance);
for (c = 1; c <= GD_n_cluster(g); c++)
- nc += mincross_clust(g, GD_clust(g)[c], doBalance);
+ nc += mincross_clust(GD_clust(g)[c], doBalance);
save_vlist(g);
return nc;