public class ClingoWriter extends Object
ClingoSolver,
DLVSolver| Constructor and Description |
|---|
ClingoWriter() |
ClingoWriter(Writer writer)
Create a new ClingoWriter with the given writer.
|
ClingoWriter(Writer writer,
boolean b) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
printProgram(Program p)
Prints program
|
void |
usePredicateWhitelist(boolean b) |
public ClingoWriter(Writer writer)
writer - public ClingoWriter()
public ClingoWriter(Writer writer, boolean b)
public void printProgram(Program p) throws IOException
p - a programIOExceptionpublic void close()
throws IOException
IOExceptionpublic void usePredicateWhitelist(boolean b)
Copyright © 2019. All rights reserved.