Interface Distribution

All Known Implementing Classes:
GaussianDistribution, UniformDistribution, ZipfianDistribution

public interface Distribution
Abstract interface for value distributions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Distribution
    Used when a distribution is not explicitly specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    Parses the given configuration XML element to the corresponding distribution.
    Gets the type of this distribution.
  • Field Details

    • UNDEFINED

      static final Distribution UNDEFINED
      Used when a distribution is not explicitly specified.
  • Method Details

    • getType

      DistributionType getType()
      Gets the type of this distribution.
      Returns:
      The type of this distribution.
    • fromXML

      static Distribution fromXML(Element data)
      Parses the given configuration XML element to the corresponding distribution.
      Parameters:
      data - The XML element to parse.
      Returns:
      The parsed distribution.