Lines Matching defs:weight
45 uint64_t weight;
54 return double(weight) / double(size);
60 uint64_t weight = 0;
98 uint64_t weight = c.second;
111 clusters[to].weight += weight;
118 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) {
120 toC.bestPred.weight = weight;
124 c.initialWeight = c.weight;
129 double newDensity = double(a.weight + b.weight) / double(a.size + b.size);
152 into.weight += from.weight;
154 from.weight = 0;
180 if (c.bestPred.from == -1 || c.bestPred.weight * 10 <= c.initialWeight)