int v,e, current, future, dfuture;
buf_push= buf_pop= buffer;
int v,e, current, future, dfuture;
buf_push= buf_pop= buffer;
beta_prime= (1-beta)/2;
printf("alpha=%g beta=%g beta'=%g\n", alpha,beta,beta_prime);
}
beta_prime= (1-beta)/2;
printf("alpha=%g beta=%g beta'=%g\n", alpha,beta,beta_prime);
}
/* For each (vi,vj) computes shortest path s_ij = |vi..vj|
* along edges, and actual distance d_ij = |vi-vj|.
*
/* For each (vi,vj) computes shortest path s_ij = |vi..vj|
* along edges, and actual distance d_ij = |vi-vj|.
*
meanedgelength2= meanedgelength * meanedgelength;
// printf("mean=%g mean^2=%g\n", meanedgelength, meanedgelength2);
meanedgelength2= meanedgelength * meanedgelength;
// printf("mean=%g mean^2=%g\n", meanedgelength, meanedgelength2);
//printf("layout %03x..%03x dist^2=%d s^2=%g d^2=%g "
//" cost+=%g\n", v1,v2, dist2,
//printf("layout %03x..%03x dist^2=%d s^2=%g d^2=%g "
//" cost+=%g\n", v1,v2, dist2,