Home
last modified time | relevance | path

Searched refs:vwgt_max (Results 1 – 17 of 17) sorted by relevance

/dports/math/chaco/Chaco-2.2/code/submain/
H A Ddivide.c60 int vwgt_max; /* largest vertex weight */ local
109 vwgt_max = 0;
111 if (graph[i]->vwgt > vwgt_max)
112 vwgt_max = graph[i]->vwgt;
116 vwgt_max = 1;
130 max_dev = vwgt_max;
150 max_dev = vwgt_max;
243 max_dev = vwgt_max;
255 (vwgt_max != 1));
268 (vwgt_max != 1));
[all …]
/dports/math/chaco/Chaco-2.2/code/refine_part/
H A Dmake_maps_ref.c27 int vwgt_max; /* largest vertex weight in subgraph */ local
35 vwgt_max = vwgt_sum1 = vwgt_sum2 = 0;
41 if (graph[vtx]->vwgt > vwgt_max) {
42 vwgt_max = graph[vtx]->vwgt;
53 if (graph[vtx]->vwgt > vwgt_max) {
54 vwgt_max = graph[vtx]->vwgt;
62 *pvwgt_max = vwgt_max;
H A Dkl_refine.c43 int vwgt_max; /* largest vertex weight */ local
60 set1, set2, glob2loc, loc2glob, &subnvtxs, &vwgt_max,
82 count_weights(subgraph, subnvtxs, sub_assign, 2, weights, (vwgt_max != 1));
84 max_dev = vwgt_max;
/dports/math/chaco/Chaco-2.2/code/assign/
H A Dassign.c11 active, mediantype, goal, vwgt_max) in assign() argument
23 int vwgt_max; /* largest vertex weight */
38 using_vwgts = (vwgt_max != 1);
45 mediantype, goal, vwgt_max);
56 mediantype, goal, vwgt_max);
79 mediantype, goal, vwgt_max);
H A Dmapper.c12 mediantype, goal, vwgt_max) in mapper() argument
23 int vwgt_max; /* largest vertex weight */
40 using_vwgts = (vwgt_max != 1);
82 map2d(graph, xvecs, nvtxs, sets, goal, vwgt_max);
84 map3d(graph, xvecs, nvtxs, sets, goal, vwgt_max);
/dports/math/chaco/Chaco-2.2/code/coarsen/
H A Dcoarsen.c67 int vwgt_max; /* largest vertex weight */ local
99 vwgt_max = 0;
102 if (graph[i]->vwgt > vwgt_max)
103 vwgt_max = graph[i]->vwgt;
108 vwgt_max = 1;
142 eigensolve(graph, nvtxs, nedges, maxdeg, vwgt_max, vwsqrt,
251 vwgt_max = 0;
254 if (graph[i]->vwgt > vwgt_max)
255 vwgt_max = graph[i]->vwgt;
260 vwgt_max = 1;
[all …]
/dports/math/chaco/Chaco-2.2/code/klspiff/
H A Dcoarsen_kl.c14 igeom, coords, vwgt_max, assignment, goal, architecture, hops, in coarsen_kl() argument
26 int vwgt_max; /* largest vertex weight */
185 eigensolve(graph, nvtxs, nedges, maxdeg, vwgt_max, vwsqrt,
194 active, mediantype, real_goal, vwgt_max);
200 count_weights(graph, nvtxs, assignment, nsets, weights, (vwgt_max != 1));
207 max_dev = (step == 0) ? vwgt_max : 5 * vwgt_max;
427 max_dev = (step == 0) ? vwgt_max : 5 * vwgt_max;
439 (vwgt_max != 1));
/dports/math/chaco/Chaco-2.2/code/internal/
H A Dforce_internal.c39 int vwgt_max; /* largest vertex weight in graph */ local
66 vwgt_max = 0;
79 if (graph[i]->vwgt > vwgt_max) {
80 vwgt_max = graph[i]->vwgt;
163 vtx_elems, set, locked, &nlocked, using_ewgts, vwgt_max, total_vwgt);
H A Dimprove_internal.c12 vtx_elems, set1, locked, nlocked, using_ewgts, vwgt_max, total_vwgt) in improve_internal() argument
24 int vwgt_max; /* largest vertex weight */
51 min_cost_start = 2.0 * vwgt_max * nvtxs;
158 goal[set2]*ratio - total_vwgt[set2]) <= vwgt_max;
204 goal[set2] - total_vwgt[set2] <= vwgt_max;
/dports/math/chaco/Chaco-2.2/code/bpmatch/
H A Dmap2d.c13 void map2d(graph, xvecs, nvtxs, sets, goal, vwgt_max) in map2d() argument
19 int vwgt_max; /* largest vertex weight */
53 goal, vwgt_max);
H A Dmap3d.c13 void map3d(graph, xvecs, nvtxs, sets, goal, vwgt_max) in map3d() argument
19 int vwgt_max; /* largest vertex weight */
53 goal, vwgt_max);
H A Dmovevtxs.c19 size, goal, vwgt_max) in movevtxs() argument
30 int vwgt_max; /* largest vertex weight */
69 if (largest + smallest <= vwgt_max)
144 if (largest + smallest <= vwgt_max)
/dports/math/chaco/Chaco-2.2/code/eigen/
H A Deigensolve.c12 void eigensolve(graph, nvtxs, nedges, maxdeg, vwgt_max, vwsqrt, in eigensolve() argument
20 int vwgt_max; /* largest vertex weight */
253 assignment, active, mediantype, goal, vwgt_max);
258 assignment, active, mediantype, goal, vwgt_max);
279 assignment, active, mediantype, goal, vwgt_max);
284 assignment, active, mediantype, goal, vwgt_max);
H A Drqi.c14 goal, vwgt_max, ndims) in rqi() argument
31 int vwgt_max; /* largest vertex weight */
158 active, mediantype, goal, vwgt_max);
172 active, mediantype, goal, vwgt_max);
H A Dlanczos_SO.c89 cube_or_mesh, nsets, assignment, active, mediantype, goal, vwgt_max) in lanczos_SO() argument
106 int vwgt_max; /* largest vertex weight */
511 active, mediantype, goal, vwgt_max);
528 active, mediantype, goal, vwgt_max);
H A Dlanczos_SO_float.c14 cube_or_mesh, nsets, assignment, active, mediantype, goal, vwgt_max) in lanczos_SO_float() argument
31 int vwgt_max; /* largest vertex weight */
466 active, mediantype, goal, vwgt_max);
503 active, mediantype, goal, vwgt_max);
/dports/math/chaco/Chaco-2.2/code/klvspiff/
H A Dcoarsen_klv.c20 igeom, coords, vwgt_max, assignment, goal, architecture, hops, in coarsen_klv() argument
32 int vwgt_max; /* largest vertex weight */
245 max_dev = (step == 0) ? vwgt_max : 5 * vwgt_max;
440 max_dev = (step == 0) ? vwgt_max : 5 * vwgt_max;
452 (vwgt_max != 1));