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 BinomialDistS

All Known Implementing Classes:
  BinomialDistImpl, BinomialDistCImpl

public interface BinomialDistS
extends UnsignedDistributionS

Binomial distribution. The binomial distribution gives the discrete probability of obtaining exactly n successes out of N Bernoulli trials

Method Summary
`java.lang.Object` | `setNumTrials(int aNumTrials)` The setNumTrials only sets the numTrials parameter; the probability parameter is left unchanged from its previous or initialized value
`java.lang.Object` | `setNumTrials$setProbability(int aNumTrials, double aProbability)` The setNumTrials:setProbability sets both the number of trials rate and the probability parameters.

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

Method Detail

### setNumTrials

    public java.lang.Object setNumTrials(int aNumTrials)

  The setNumTrials only sets the numTrials parameter; the probability parameter is left unchanged from its previous or initialized value

### setNumTrials$setProbability

    public java.lang.Object setNumTrials$setProbability(int aNumTrials,
                                                        double aProbability)

  The setNumTrials:setProbability sets both the number of trials rate and the probability parameters.

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