Lines Matching defs:weight
42 uint64_t weight;
51 return double(weight) / double(size);
57 uint64_t weight = 0;
70 /// the weight of the cluster is the sum of the weight of all incoming
77 /// * The weight of the cluster divided by the size of the cluster. This is a
82 /// * Sort input sections by weight
83 /// * For each input section starting with the highest weight
131 uint64_t weight = c.second;
145 clusters[to].weight += weight;
152 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) {
154 toC.bestPred.weight = weight;
158 c.initialWeight = c.weight;
163 double newDensity = double(a.weight + b.weight) / double(a.size + b.size);
186 into.weight += from.weight;
188 from.weight = 0;
209 if (c.bestPred.from == -1 || c.bestPred.weight * 10 <= c.initialWeight)
304 uint64_t weight = c.second;
305 // Ignore edges with zero weight.
306 if (weight == 0)
315 callCounts.push_back({from, to, weight});
319 funcCounts[to] += weight;