SimpleVoting

rdts.datatypes.experiments.protocols.simplified.SimpleVoting
See theSimpleVoting companion object
case class SimpleVoting[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 leadingCount: Option[(A, Int)]
def result(using Participants): Option[A]
def threshold(using Participants): Int
def voteFor(v: A)(using LocalUid, Participants): SimpleVoting[A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product