Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## swarm.random
Interface BernoulliDistS

All Known Implementing Classes:
  BernoulliDistImpl, BernoulliDistCImpl

public interface BernoulliDistS
extends BooleanDistributionS

Bernoulli Distribution . A distribution returning YES with a given probability.

Method Summary
`java.lang.Object` | `setProbability(double p)` The setProbability: method sets the probability of returning YES.

Methods inherited from interface swarm.random.ProbabilityDistributionS
`reset, setGenerator, setGenerator$setVirtualGenerator`

Method Detail

### setProbability

    public java.lang.Object setProbability(double p)

  The setProbability: method sets the probability of returning YES.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD