Class DefaultCondensedProbabilityDistributionWriter
java.lang.Object
org.tweetyproject.commons.Writer
org.tweetyproject.logics.rpcl.writers.DefaultCondensedProbabilityDistributionWriter
This class implements a simple writer for writing condensed probability distributions.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionCreates a new writer.Creates a new writer for the given condensed probability distribution. -
Method Summary
Methods inherited from class org.tweetyproject.commons.Writer
getObjectToBePrinted, setObjectToBePrinted, writeToFile
-
Constructor Details
-
DefaultCondensedProbabilityDistributionWriter
public DefaultCondensedProbabilityDistributionWriter()Creates a new writer. -
DefaultCondensedProbabilityDistributionWriter
Creates a new writer for the given condensed probability distribution.- Parameters:
distribution
- a condensed probability distribution.
-
-
Method Details
-
writeToString
Description copied from class:Writer
Writes the object into a string.- Specified by:
writeToString
in classWriter
- Returns:
- the string representing the object.
-