Class Distribution

java.lang.Object
jline.lang.processes.Distribution
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContinuousDistribution, Det, Disabled, DiscreteDistribution, Immediate, Replayer

public abstract class Distribution extends Object implements Serializable
An abstract class of a general distribution
See Also:
  • Field Details

    • mean

      protected double mean
    • immediate

      protected boolean immediate
    • name

      protected String name
    • numParam

      protected int numParam
    • support

      protected Pair<Double,Double> support
    • params

      protected List<NamedParam> params
  • Constructor Details

  • Method Details

    • sample

      public double[] sample(int n)
    • sample

      public abstract double[] sample(int n, Random random)
    • getMean

      public abstract double getMean()
    • getRate

      public double getRate()
    • getSCV

      public abstract double getSCV()
    • getVar

      public double getVar()
    • getSkewness

      public abstract double getSkewness()
    • evalCDF

      public abstract double evalCDF(double t)
    • getNumParams

      public int getNumParams(int id)
    • setNumParams

      public void setNumParams(int num)
    • setParam

      public void setParam(int id, String name, Object value)
    • evalProbInterval

      public double evalProbInterval(double t0, double t1)
    • getParam

      public NamedParam getParam(int id)
    • isImmediate

      public boolean isImmediate()
    • isContinuous

      public boolean isContinuous()
    • isDiscrete

      public boolean isDiscrete()
    • isDisabled

      public boolean isDisabled()
    • getName

      public String getName()
    • getSupport

      public Pair<Double,Double> getSupport()