Home
last modified time | relevance | path

Searched refs:ewgts (Results 1 – 25 of 81) sorted by relevance

1234

/dports/math/chaco/Chaco-2.2/code/graph/
H A Dcheck_graph.c34 using_ewgts = (graph[1]->ewgts != NULL);
64 wgt_sum = graph[i]->ewgts[0];
69 wgt_sum += graph[i]->ewgts[j];
84 if (using_ewgts && graph[i]->ewgts[j] <= 0) {
86 graph[i]->ewgts[j], i, neighbor);
95 else if (using_ewgts && eweight != graph[i]->ewgts[j]) {
97 i, neighbor, graph[i]->ewgts[j], neighbor, i, eweight);
102 if (using_ewgts && fabs(wgt_sum) > 1.0e-7 * fabs(graph[i]->ewgts[0])) {
136 if (vertex->ewgts != NULL)
137 *weight2 = vertex->ewgts[i];
H A Dreformat.c12 int reformat(start, adjacency, nvtxs, pnedges, vwgts, ewgts, pgraph) in reformat() argument
18 float *ewgts; /* weights for all edges */
37 using_ewgts = (ewgts != NULL);
56 graph[1]->ewgts = NULL;
74 wptr = ewgts;
109 graph[i]->ewgts = eweights;
120 graph[i]->ewgts[0] = -sum;
123 graph[i]->ewgts = NULL;
H A Dsubgraph.c49 fptr = subgptr->ewgts + 1;
65 tempwgt = subgptr->ewgts[newnedges];
66 subgptr->ewgts[newnedges] = *fptr;
74 subgptr->ewgts[0] = -ewgtsum;
111 fptr = subgptr->ewgts;
114 subgptr->ewgts[0] = -ewgtsum;
/dports/math/chaco/Chaco-2.2/code/coarsen/
H A Dmakecgraph.c104 links->ewgts = eweights;
108 links->ewgts = NULL;
134 fptr = graph[i]->ewgts;
147 cgptr->ewgts[nseen] = ewgt;
152 cgptr->ewgts[seenflag[cneighbor]] += ewgt;
162 fptr = graph[mflag[i]]->ewgts;
174 cgptr->ewgts[nseen] = ewgt;
179 cgptr->ewgts[seenflag[cneighbor]] += ewgt;
187 cgptr->ewgts[0] = -ewgt_sum;
H A Dmakecgraph2.c111 cgptr->ewgts = ewptr;
114 cgptr->ewgts = NULL;
121 fptr = graph[i]->ewgts;
134 cgptr->ewgts[nseen] = ewgt;
139 cgptr->ewgts[seenflag[cneighbor]] += ewgt;
149 fptr = graph[mflag[i]]->ewgts;
161 cgptr->ewgts[nseen] = ewgt;
166 cgptr->ewgts[seenflag[cneighbor]] += ewgt;
174 cgptr->ewgts[0] = -ewgt_sum;
H A Dmakefgraph.c107 cgptr->ewgts = ewptr;
110 cgptr->ewgts = NULL;
118 fptr = graph[vtx]->ewgts;
131 cgptr->ewgts[nseen] = ewgt;
136 cgptr->ewgts[seenflag[cneighbor]] += ewgt;
151 cgptr->ewgts[0] = -ewgt_sum;
190 cgraph[i]->ewgts = eweights;
/dports/math/chaco/Chaco-2.2/code/misc/
H A Dfind_maxdeg.c28 if (-graph[i]->ewgts[0] > maxdeg)
29 maxdeg = -graph[i]->ewgts[0];
31 eptr = graph[i]->ewgts;
42 if (-graph[i]->ewgts[0] > maxdeg)
43 maxdeg = -graph[i]->ewgts[0];
/dports/math/chaco/Chaco-2.2/code/main/
H A Dinterface.c11 int interface(nvtxs, start, adjacency, vwgts, ewgts, x, y, z, in interface() argument
21 float *ewgts; /* weights for all edges */
143 using_ewgts = (ewgts != NULL);
147 flag = reformat(start, adjacency, nvtxs, &nedges, vwgts, ewgts, &graph);
165 if (ewgts != NULL)
166 sfree((char *) ewgts);
170 ewgts = NULL;
227 sfree((char *) ewgts);
/dports/graphics/graphviz/graphviz-2.44.1/lib/neatogen/
H A Dopt_arrangement.c37 b_i += graph[i].ewgts[j] * graph[i].edists[j]; in construct_b()
55 float *old_ewgts = graph[0].ewgts; in compute_y_coords()
69 graph[i].ewgts = uniform_weights; in compute_y_coords()
82 free(graph[0].ewgts); in compute_y_coords()
84 graph[i].ewgts = old_ewgts; in compute_y_coords()
H A Dstress.c210 if (graph->ewgts) { in circuitModel()
317 float *ewgts; in sparse_stress_subspace_majorization_kD() local
529 lap[i].ewgts = ewgts; in sparse_stress_subspace_majorization_kD()
541 degree -= ewgts[j]; in sparse_stress_subspace_majorization_kD()
547 degree -= ewgts[j]; in sparse_stress_subspace_majorization_kD()
553 ewgts += lap[i].nedges; in sparse_stress_subspace_majorization_kD()
644 ewgts = lap[i].ewgts; in sparse_stress_subspace_majorization_kD()
693 free(lap[0].ewgts); in sparse_stress_subspace_majorization_kD()
819 if (graph->ewgts) { in compute_apsp_artifical_weights_packed()
831 graph[i].ewgts[j]); in compute_apsp_artifical_weights_packed()
[all …]
H A Dpca.c127 float *ewgts; in weight_laplacian() local
130 ewgts = laplacian[i].ewgts; in weight_laplacian()
131 *ewgts = 0; in weight_laplacian()
134 *ewgts -= ewgts[j] = in weight_laplacian()
/dports/math/chaco/Chaco-2.2/code/eigen/
H A Dsplarax.c35 if (mat[1]->ewgts == NULL) { /* No edge weights */
53 wgtpntr = mat_i->ewgts;
74 if (mat[1]->ewgts == NULL) { /* No edge weights. */
92 wgtpntr = mat_i->ewgts;
138 if (mat[1]->ewgts == NULL) { /* No edge weights */
156 wgtpntr = mat_i->ewgts;
177 if (mat[1]->ewgts == NULL) { /* No edge weights. */
195 wgtpntr = mat_i->ewgts;
/dports/graphics/graphviz/graphviz-2.44.1/lib/topfish/
H A Dhierarchy.c420 cgraph[cv].ewgts[cv_nedges] = graph[v].ewgts[j]; in make_coarse_graph()
428 cgraph[cv].ewgts[index[neighbor]] += graph[v].ewgts[j]; in make_coarse_graph()
439 cgraph[cv].ewgts[0] = graph[v].ewgts[0]; in make_coarse_graph()
449 cgraph[cv].ewgts[cv_nedges] = graph[v].ewgts[j]; in make_coarse_graph()
459 graph[v].ewgts[j]; in make_coarse_graph()
469 cgraph[cv].ewgts[0] += graph[v].ewgts[0] + intra_weight; in make_coarse_graph()
554 cgraph[cv].ewgts[0] += in make_coarse_graph()
755 float *ewgts = NULL; in cpGraph() local
778 cpGraph[i].ewgts = ewgts; in cpGraph()
786 if (ewgts != NULL) { in cpGraph()
[all …]
/dports/math/chaco/Chaco-2.2/code/klspiff/
H A Dcompress_ewgts.c44 old_ewgts = graph[1]->ewgts;
60 graph[i]->ewgts = self_ptr;
78 sfree((char *) graph[1]->ewgts);
80 graph[i]->ewgts = old_ewgts;
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.target/i386/
H A Dpr44546.c7 float *ewgts; member
20 whatever (graph) > graph[n].ewgts[n] ? in compute_apsp_artifical_weights_packed()
21 whatever (graph) : graph[n].ewgts[n]; in compute_apsp_artifical_weights_packed()

1234