Searched refs:TotalWeight (Results 1 – 2 of 2) sorted by relevance
37 uint64_t TotalWeight = 0; variable42 uint64_t totalWeight() const { return TotalWeight; } in totalWeight()43 bool isEmpty() const { return TotalWeight == 0; } in isEmpty()65 TotalWeight += Weight; in sample()67 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
1029 uint64_t TotalWeight = 0; in propagateThroughEdges() local1038 TotalWeight += visitEdge(E, &NumUnknownEdges, &UnknownEdge); in propagateThroughEdges()1050 TotalWeight += visitEdge(E, &NumUnknownEdges, &UnknownEdge); in propagateThroughEdges()1087 if (TotalWeight > BBWeight) { in propagateThroughEdges()1088 BBWeight = TotalWeight; in propagateThroughEdges()1104 if (BBWeight >= TotalWeight) in propagateThroughEdges()1105 EdgeWeights[UnknownEdge] = BBWeight - TotalWeight; in propagateThroughEdges()1140 if (BBWeight >= TotalWeight) in propagateThroughEdges()1141 EdgeWeights[SelfReferentialEdge] = BBWeight - TotalWeight; in propagateThroughEdges()1149 if (UpdateBlockCount && !VisitedBlocks.count(EC) && TotalWeight > 0) { in propagateThroughEdges()[all …]