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
132 uint64_t weight = c.second;
146 clusters[to].weight += weight;
153 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) {
155 toC.bestPred.weight = weight;
159 c.initialWeight = c.weight;
164 double newDensity = double(a.weight + b.weight) / double(a.size + b.size);
187 into.weight += from.weight;
189 from.weight = 0;
210 if (c.bestPred.from == -1 || c.bestPred.weight * 10 <= c.initialWeight)
307 uint64_t weight = c.second;
308 // Ignore edges with zero weight.
309 if (weight == 0)
318 callCounts.push_back({from, to, weight});
322 funcCounts[to] += weight;