public class ProofProcessor extends Object
| Constructor and Description |
|---|
ProofProcessor(ArrayList<BasicXMLelement> xmlInput)
Take an ArrayList of BasicXMLelement (s) and process them as
needed
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsAnswer(int answerNum,
String expectedAnswer)
Compare the answer with the expected answer.
|
static void |
main(String[] args)
A main method, used only for testing.
|
int |
numAnswers()
Return the number of answers contained in this proof.
|
static String |
removeNestedAnswerClause(String st)
Remove the $answer clause that eProver returns, including any
surrounding connective.
|
static ArrayList<String> |
returnSkolemStmt(String skolem,
ArrayList<ProofStep> proofSteps)
Looks for skolem function from proofsteps if query is not given.
|
static void |
testFormatProof() |
static void |
testRemoveAnswer() |
static String |
tptpProof(ArrayList<ProofStep> proofSteps)
Convert XML proof to TPTP format
|
public ProofProcessor(ArrayList<BasicXMLelement> xmlInput)
public boolean equalsAnswer(int answerNum,
String expectedAnswer)
public static ArrayList<String> returnSkolemStmt(String skolem, ArrayList<ProofStep> proofSteps)
public static String removeNestedAnswerClause(String st)
public int numAnswers()
public static String tptpProof(ArrayList<ProofStep> proofSteps)
public static void testRemoveAnswer()
public static void testFormatProof()
public static void main(String[] args)
Copyright © 2015. All rights reserved.