pub fn settle(ballots: &[Ballot], cfg: &ConsensusSection) -> OutcomeExpand description
Settle ballots under cfg.
DeGroot when cfg.susceptibility is one, which is the default: every agent
gives up its own starting position and the group converges on a single
number. Below one it is Friedkin and Johnsen’s generalisation, x(t+1) = λ W x(t) + (1 - λ) x(0), where each agent stays partly anchored to the ballot it
cast and what settles is a profile of persistent disagreement.
Returns an empty outcome when nobody has voted; a single ballot settles on itself in one round, which the caller reports as the one opinion it is rather than as agreement.