/dports/math/chaco/Chaco-2.2/code/klvspiff/ |
H A D | flatten.c | 26 int *v2cv; /* map from vtxs to coarse vtxs */ local 36 find_flat(graph, nvtxs, &cnvtxs, v2cv); 43 *pv2cv = v2cv; 48 sfree((char *) v2cv); 54 void find_flat(graph, nvtxs, pcnvtxs, v2cv) in find_flat() argument 58 int *v2cv; /* map from vtxs to coarse vtxs */ 87 v2cv[i] = 0; 96 if (v2cv[i] == 0) { /* Not yet flattened. */ 97 v2cv[i] = ++cnvtxs; 103 v2cv[neighbor] == 0 && /* neighbor not flattened */ [all …]
|
H A D | coarsen_klv.c | 80 int *v2cv; /* mapping from vtxs to coarse vtxs */ local 276 flattened = flatten(graph, nvtxs, nedges, &cgraph, &cnvtxs, &cnedges, &v2cv, 281 coarsen1(graph, nvtxs, nedges, &cgraph, &cnvtxs, &cnedges, &v2cv, 302 ctwptr[v2cv[i]] += twptr[i]; 351 assignment[i] = cassignment[v2cv[i]]; 365 if (flag[v2cv[i]]) 373 if (flag[v2cv[i]]) 387 sfree((char *) v2cv);
|
/dports/math/chaco/Chaco-2.2/code/coarsen/ |
H A D | makev2cv.c | 10 void makev2cv(mflag, nvtxs, v2cv) in makev2cv() argument 14 int *v2cv; /* mapping from vtxs to coarsened vtxs */ 21 v2cv[i] = j++; 23 v2cv[i] = v2cv[mflag[i]];
|
H A D | makefgraph.c | 11 void makefgraph(graph, nvtxs, nedges, pcgraph, cnvtxs, pcnedges, v2cv, in makefgraph() argument 19 int *v2cv; /* mapping from vtxs to coarsened vtxs */ 66 makecv2v(nvtxs, cnvtxs, v2cv, cv2v_vals, cv2v_ptrs); 121 cneighbor = v2cv[neighbor]; 168 cgraph[v2cv[i]]->vwgt += (*(++gptr))->vwgt; 216 static void makecv2v(nvtxs, cnvtxs, v2cv, cv2v_vals, cv2v_ptrs) in makecv2v() argument 219 int *v2cv; /* mapping from vtxs to coarsened vtxs */ 234 ++cv2v_ptrs[v2cv[i] + 1]; /* +1 offsets and simplifies next loop. */ 247 cv2v_vals[cv2v_ptrs[v2cv[i]]] = i; 248 ++cv2v_ptrs[v2cv[i]];
|
H A D | makecgraph.c | 11 v2cv, nmerged, using_ewgts, igeom, coords, ccoords) in makecgraph() argument 18 int *v2cv; /* mapping from vtxs to coarsened vtxs */ 63 makev2cv(mflag, nvtxs, v2cv); 72 countcedges(graph, nvtxs, start, seenflag, mflag, v2cv, pcnedges); 118 cgraph[v2cv[i]]->vwgt += (*(++gptr))->vwgt; 128 cvtx = v2cv[i]; 137 cneighbor = v2cv[neighbor]; 165 cneighbor = v2cv[neighbor]; 200 makeccoords(graph, nvtxs, cnvtxs, mflag, v2cv, igeom, coords, ccoords);
|
H A D | coarsen1.c | 27 int *v2cv; /* maps from vtxs to cvtxs */ local 39 v2cv = (int *) smalloc((unsigned) (nvtxs + 1) * sizeof(int)); 58 makev2cv(mflag, nvtxs, v2cv); 63 makefgraph(graph, nvtxs, nedges, pcgraph, cnvtxs, pcnedges, v2cv, 68 *pv2cv = v2cv;
|
H A D | makecgraph2.c | 11 v2cv, nmerged, using_ewgts, igeom, coords, ccoords) in makecgraph2() argument 19 int *v2cv; /* mapping from vtxs to coarsened vtxs */ 67 makev2cv(mflag, nvtxs, v2cv); 100 cvtx = v2cv[i]; 124 cneighbor = v2cv[neighbor]; 152 cneighbor = v2cv[neighbor]; 198 cgraph[v2cv[i]]->vwgt += (*(++gptr))->vwgt; 210 ccoords[i][v2cv[j]] = coords[i][j]; 219 ccoords[i][v2cv[j]] = (m1 * coords[i][v1] + m2 * coords[i][v2]) / (m1 + m2);
|
H A D | countcedges.c | 10 void countcedges(graph, nvtxs, start, seenflag, mflag, v2cv, pcnedges) in countcedges() argument 17 int *v2cv; /* mapping from fine to coarse vertices */ 41 cneighbor = v2cv[neighbor]; 55 cneighbor = v2cv[neighbor];
|
H A D | interpolate.c | 18 void interpolate(vecs, cvecs, ndims, graph, nvtxs, v2cv, using_ewgts) in interpolate() argument 24 int *v2cv; /* mapping from vtxs to cvtxs */ 44 vec[i] = cvec[v2cv[i]];
|
H A D | coarsen.c | 66 int *v2cv; /* mapping from vertices to coarse vtxs */ local 165 &v2cv, igeom, coords, ccoords, using_ewgts); 205 ctwptr[v2cv[i]] += twptr[i]; 219 interpolate(yvecs, cyvecs, ndims, graph, nvtxs, v2cv, using_ewgts); 222 sfree((char *) v2cv);
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/topfish/ |
H A D | hierarchy.c | 342 v2cv[i] = j; in makev2cv() 347 v2cv[i] = j; in makev2cv() 348 v2cv[mflag[i]] = j; in makev2cv() 412 neighbor = v2cv[graph[v].edges[j]]; in make_coarse_graph() 499 neighbor = v2cv[graph[v].edges[j]]; in make_coarse_graph() 634 neighbor = v2cv[graph[v].edges[j]]; in make_coarse_ex_graph() 707 *v2cvp = v2cv = N_NEW(nvtxs, int); in coarsen_match() 718 cnvtxs, v2cv, cv2v); in coarsen_match() 736 free(hierarchy->v2cv[i]); in release() 748 free(hierarchy->v2cv); in release() [all …]
|
H A D | hierarchy.h | 48 int ** v2cv; member
|
/dports/math/chaco/Chaco-2.2/code/klspiff/ |
H A D | coarsen_kl.c | 75 int *v2cv; /* mapping from fine to coarse vertices */ local 267 coarsen1(graph, nvtxs, nedges, &cgraph, &cnvtxs, &cnedges, &v2cv, 286 ctwptr[v2cv[i]] += twptr[i]; 330 assignment[i] = cassignment[v2cv[i]]; 341 cvtx = v2cv[i]; 381 sfree((char *) v2cv);
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | gdevdgbr.c | 421 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 441 va = v2cv(va); in gx_get_bits_std_to_native() 447 v[j] = v2cv(vj); in gx_get_bits_std_to_native() 451 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gdevdgbr.c | 421 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 441 va = v2cv(va); in gx_get_bits_std_to_native() 447 v[j] = v2cv(vj); in gx_get_bits_std_to_native() 451 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/ |
H A D | gdevdgbr.c | 424 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 454 va = v2cv(va); in gx_get_bits_std_to_native() 467 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gdevdgbr.c | 426 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 453 va = v2cv(va); in gx_get_bits_std_to_native() 464 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gdevdgbr.c | 426 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 453 va = v2cv(va); in gx_get_bits_std_to_native() 464 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/ |
H A D | gdevdgbr.c | 424 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 454 va = v2cv(va); in gx_get_bits_std_to_native() 467 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gdevdgbr.c | 419 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 446 va = v2cv(va); in gx_get_bits_std_to_native() 457 va = v2cv(va); in gx_get_bits_std_to_native()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gdevdgbr.c | 419 #define v2cv(value) ((ulong)(value) * gx_max_color_value / src_max) in gx_get_bits_std_to_native() macro 446 va = v2cv(va); in gx_get_bits_std_to_native() 457 va = v2cv(va); in gx_get_bits_std_to_native()
|