Class DefaultCondensedProbabilityDistributionWriter


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

      • DefaultCondensedProbabilityDistributionWriter

        public DefaultCondensedProbabilityDistributionWriter()
        Creates a new writer.
      • DefaultCondensedProbabilityDistributionWriter

        public DefaultCondensedProbabilityDistributionWriter​(CondensedProbabilityDistribution distribution)
        Creates a new writer for the given condensed probability distribution.
        Parameters:
        distribution - a condensed 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.