Class BinomialDistribution


public class BinomialDistribution extends DistributionParameter

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.bpsim.org/schemas/1.0}DistributionParameter">
       <attribute name="probability" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="trials" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • probability

      protected Double probability
    • trials

      protected Long trials
  • Constructor Details

    • BinomialDistribution

      public BinomialDistribution()
  • Method Details

    • getProbability

      public Double getProbability()
      Gets the value of the probability property.
      Returns:
      possible object is Double
    • setProbability

      public void setProbability(Double value)
      Sets the value of the probability property.
      Parameters:
      value - allowed object is Double
    • getTrials

      public Long getTrials()
      Gets the value of the trials property.
      Returns:
      possible object is Long
    • setTrials

      public void setTrials(Long value)
      Sets the value of the trials property.
      Parameters:
      value - allowed object is Long