Class DefaultCondensedProbabilityDistributionWriter
- java.lang.Object
-
- net.sf.tweety.commons.Writer
-
- net.sf.tweety.logics.rpcl.writers.DefaultCondensedProbabilityDistributionWriter
-
public class DefaultCondensedProbabilityDistributionWriter extends Writer
This class implements a simple writer for writing condensed probability distributions.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description DefaultCondensedProbabilityDistributionWriter()
Creates a new writer.DefaultCondensedProbabilityDistributionWriter(CondensedProbabilityDistribution distribution)
Creates a new writer for the given condensed probability distribution.
-
Method Summary
Modifier and Type Method Description java.lang.String
writeToString()
Writes the object into a string.-
Methods inherited from class net.sf.tweety.commons.Writer
getObject, setObject, writeToFile
-
-
-
-
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 classWriter
- Returns:
- the string representing the object.
-
-