public class TPTP2SUMO extends Object
| Constructor and Description |
|---|
TPTP2SUMO() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(BufferedReader reader,
ArrayList<Binding> answer,
boolean instantiated)
Convert a TPTP proof to a SUMO XML-wrapped proof
|
static String |
convert(Reader in,
ArrayList<Binding> answer,
boolean instantiated)
Convenience routine that calls the main convert() method below
|
static String |
convert(Reader in,
boolean instantiated)
Convenience routine that calls the main convert() method below
|
static String |
convert(String tptp,
ArrayList<Binding> answer,
boolean instantiated)
Convenience routine that calls the main convert() method below
|
static String |
convert(String tptp,
boolean instantiated)
Convenience routine that calls the main convert() method below
|
static StringBuffer |
convertType(TPTPFormula formula,
int indent,
int indented)
Convert a single annotated TPTP clause to a single XML-wrapped SUMO formula.
|
static StringBuffer |
convertType(TPTPFormula formula,
int indent,
int indented,
boolean noXML)
Convert a single annotated TPTP clause to a single SUMO formula, possibly XML-wrapped.
|
static void |
main(String[] args) |
static String |
transformTerm(String term)
remove termSymbolPrefix and termMentionSuffix
|
public static String convert(String tptp, boolean instantiated) throws Exception
Exceptionpublic static String convert(Reader in, boolean instantiated) throws Exception
Exceptionpublic static String convert(String tptp, ArrayList<Binding> answer, boolean instantiated) throws Exception
Exceptionpublic static String convert(Reader in, ArrayList<Binding> answer, boolean instantiated) throws Exception
Exceptionpublic static String convert(BufferedReader reader, ArrayList<Binding> answer, boolean instantiated) throws Exception
Exceptionpublic static StringBuffer convertType(TPTPFormula formula, int indent, int indented)
public static StringBuffer convertType(TPTPFormula formula, int indent, int indented, boolean noXML)
public static String transformTerm(String term)
public static void main(String[] args)
Copyright © 2015. All rights reserved.