public class SPASSWriter extends Object
A SPASS input file consists of the following parts:
net.sf.tweety.logics.SpassFolReasoner.reasoner.SPASS| Constructor and Description |
|---|
SPASSWriter()
Creates a new SPASSWriter.
|
SPASSWriter(Writer writer)
Creates a new SPASSWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
printProblem(FolBeliefSet kb,
net.sf.tweety.logics.commons.syntax.RelationalFormula formula)
Prints the contents of a SPASS problem file for a given knowledge base and a formula.
|
public SPASSWriter(Writer writer)
writer - Output is redirected to this writer.public SPASSWriter()
public void printProblem(FolBeliefSet kb, net.sf.tweety.logics.commons.syntax.RelationalFormula formula) throws net.sf.tweety.commons.ParserException, IOException
kb - a knowledge baseformula - a relational formulanet.sf.tweety.commons.ParserExceptionIOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.