}
}
if (!directionalityExist) {
- return stress_majorization_kD_mkernel(graph, n, nedges_graph,
+ return stress_majorization_kD_mkernel(graph, n,
d_coords, nodes, dim, opts,
model, maxi);
}
double *y;
if (dim > 2) {
/* the dim==2 case is handled below */
- if (stress_majorization_kD_mkernel(graph, n, nedges_graph,
+ if (stress_majorization_kD_mkernel(graph, n,
d_coords + 1, nodes, dim - 1,
opts, model, 15) < 0)
return -1;
}
if (num_levels < 1) {
/* no hierarchy found, use faster algorithm */
- return stress_majorization_kD_mkernel(graph, n, nedges_graph,
+ return stress_majorization_kD_mkernel(graph, n,
d_coords, nodes, dim,
opts, model, maxi);
}
}
else
#endif
- rv = stress_majorization_kD_mkernel(gp, nv, ne, coords, nodes, Ndim, opts, model, MaxIter);
+ rv = stress_majorization_kD_mkernel(gp, nv, coords, nodes, Ndim, opts, model, MaxIter);
if (rv < 0) {
agerr(AGPREV, "layout aborted\n");
*/
int stress_majorization_kD_mkernel(vtx_data * graph, /* Input graph in sparse representation */
int n, /* Number of nodes */
- int nedges_graph, /* Number of edges */
double **d_coords, /* coordinates of nodes (output layout) */
node_t ** nodes, /* original nodes */
int dim, /* dimemsionality of layout */
/* Slowest and most accurate optimization */
extern int stress_majorization_kD_mkernel(vtx_data * graph, /* Input graph in sparse representation */
int n, /* Number of nodes */
- int nedges_graph, /* Number of edges */
double **coords, /* coordinates of nodes (output layout) */
node_t **nodes, /* original nodes */
int dim, /* dimemsionality of layout */