This refactoring allows to eliminate the MaxSuccIdx map proposed in D90272.
The idea is to remove probabilities for a block BB for all its successors one by one from first, second, ... till N-th until they are defined in Probs. This works because probabilities for the block are set at once for all its successors from number 0 to N-1 and the rest are removed if there were stale probs.
I propose to remove the protected method setEdgeProbability(), which sets probabilities for individual successors, to make it clear that they are set in bulk in the public method with the same name.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
s/exist/exists/