Voting

rdts.datatypes.experiments.protocols.paper.Voting
See theVoting companion object
case class Voting[A](votes: Set[Vote[A]])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getLeadingValue(): Option[(A, Int)]
def hasDuplicateVotes: Boolean
def hasNotVoted(using LocalUid): Boolean
def majority(using Participants): Int
def voteFor(value: A)(using LocalUid): Voting[A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product