Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Swarm 2.2 Reference Guide: Interface BernoulliDistS

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.