44 dad = (
int *) malloc(V *
sizeof(
int));
45 vl = (
COORD *) malloc((V + 1) *
sizeof(
COORD));
49 for (k = 0; k < V; k++) {
53 val[-1] = -(unseen + (
COORD) 1);
57 while (min != target) {
64 for (t = 0; t < V; t++) {
75 newpri = -(val[k] + wkt);
76 if ((wkt != 0) && (val[t] < newpri)) {
80 if (val[t] > val[min])
106 int *dad = (
int *) malloc(
sizeof(
int) * (V + 2));
int directVis(Ppoint_t, int, Ppoint_t, int, vconfig_t *)
int * shortestPath(int root, int target, int V, array2 wadj)
int * makePath(Ppoint_t p, int pp, COORD *pvis, Ppoint_t q, int qp, COORD *qvis, vconfig_t *conf)