Uses of Record Class
com.tnsai.coordination.voting.VotingResult
Packages that use VotingResult
-
Uses of VotingResult in com.tnsai.coordination.voting
Methods in com.tnsai.coordination.voting that return VotingResultModifier and TypeMethodDescriptionstatic VotingResultMajorityVoting.tally(List<Vote> votes, VotingConfig config) Tallies the given votes according to the voting config.static VotingResultRankedChoiceVoting.tally(List<Vote> votes, VotingConfig config) Tallies ranked-choice votes using instant-runoff.ConsensusBuilder.vote()Executes the vote synchronously, collecting votes from all agents in parallel.Methods in com.tnsai.coordination.voting with parameters of type VotingResultModifier and TypeMethodDescriptiondefault voidVotingListener.onComplete(VotingResult result) Called when voting is complete and results are tallied.