Class DefaultProbabilityDistributionWriter


  • public class DefaultProbabilityDistributionWriter
    extends Writer
    This class implements a simple writer for writing probability distributions.
    Author:
    Matthias Thimm
    • Constructor Detail

      • DefaultProbabilityDistributionWriter

        public DefaultProbabilityDistributionWriter()
        Creates a new writer.
      • DefaultProbabilityDistributionWriter

        public DefaultProbabilityDistributionWriter​(RpclProbabilityDistribution<?> distribution)
        Creates a new writer for the given probability distribution.
        Parameters:
        distribution - a probability distribution.
    • Method Detail

      • writeToString

        public java.lang.String writeToString()
        Description copied from class: Writer
        Writes the object into a string.
        Specified by:
        writeToString in class Writer
        Returns:
        the string representing the object.