40 for (k = 0; k <
V; k++) {
48 while (min != target) {
55 for (t = 0; t <
V; t++) {
66 newpri = -(val[k] + wkt);
67 if ((wkt != 0) && (val[t] < newpri)) {
71 if (val[t] > val[min])
Memory allocation wrappers that exit on failure.
static void * gv_calloc(size_t nmemb, size_t size)
int * makePath(Ppoint_t p, int pp, COORD *pvis, Ppoint_t q, int qp, COORD *qvis, vconfig_t *conf)
static int * shortestPath(int root, int target, int V, array2 wadj)
VIS_API bool directVis(Ppoint_t, int, Ppoint_t, int, vconfig_t *)