Documentation Set for Swarm 2.2
Prev | Reference V. Random Library | Next

# RandomBitDist

## Name

RandomBitDist -- Random Bit Distribution

## Description

A generator that returns uniformly distributed single bit values (i.e. fair coin tosses).

## Protocols adopted by RandomBitDist

BooleanDistribution CREATABLE

## Methods

### Phase: Using

- - (BOOL)getCoinToss
  The getCoinToss method returns a YES or NO value.

Prev | Home | Next
RWC8gen | Up | SCGgen