Lines Matching defs:weight
30 uint64_t weight;
39 return double(weight) / double(size);
45 uint64_t weight = 0;
93 uint64_t weight = c.second;
107 clusters[to].weight += weight;
114 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) {
116 toC.bestPred.weight = weight;
120 c.initialWeight = c.weight;
125 double newDensity = double(a.weight + b.weight) / double(a.size + b.size);
148 into.weight += from.weight;
150 from.weight = 0;
171 if (c.bestPred.from == -1 || c.bestPred.weight * 10 <= c.initialWeight)