public class TPTPParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TPTPParser.Symbol |
static class |
TPTPParser.SymbolComparator |
| Modifier and Type | Field and Description |
|---|---|
Hashtable<String,TPTPFormula> |
ftable |
Vector<SimpleTptpParserOutput.TopLevelItem> |
Items |
| Constructor and Description |
|---|
TPTPParser(BufferedReader reader) |
public Hashtable<String,TPTPFormula> ftable
public Vector<SimpleTptpParserOutput.TopLevelItem> Items
public TPTPParser(BufferedReader reader) throws Exception
Exceptionpublic static void checkArguments(String[] args)
public static BufferedReader createReader(String arg) throws Exception
Exceptionpublic static TPTPParser parse(BufferedReader reader) throws Exception
Exceptionpublic static void gatherParents(SimpleTptpParserOutput.Source source, Vector<String> parents)
public static String getType(SimpleTptpParserOutput.TopLevelItem item)
public static String getName(SimpleTptpParserOutput.TopLevelItem item)
public static ArrayList<String> identifyTermVariables(SimpleTptpParserOutput.Formula.Atomic atom, ArrayList<String> variables)
public static ArrayList<String> identifyQuantifiedVariables(SimpleTptpParserOutput.Formula formula, ArrayList<String> variables)
public static ArrayList<String> identifyFormulaVariables(SimpleTptpParserOutput.Formula formula, ArrayList<String> variables)
public static ArrayList<String> identifyClauseVariables(SimpleTptpParserOutput.Clause clause, ArrayList<String> variables)
public static ArrayList<String> identifyVariables(TPTPFormula formula)
public static TreeSet<TPTPParser.Symbol> getSymbolList(BufferedReader reader) throws Exception
Exceptionpublic static TreeSet<TPTPParser.Symbol> getSymbolList(String filename) throws Exception
Exceptionpublic static TreeSet<TPTPParser.Symbol> getSymbolList(ArrayList<Binding> bindings) throws Exception
ExceptionCopyright © 2015. All rights reserved.