public class Prover9FolReasoner extends FolReasoner
defaultReasoner| Constructor and Description |
|---|
Prover9FolReasoner(String binaryLocation)
Constructs a new instance pointing to a specific Prover9
|
Prover9FolReasoner(String binaryLocation,
net.sf.tweety.commons.util.Shell bash)
Constructs a new instance pointing to a specific Prover9.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(FolBeliefSet kb,
FolFormula a,
FolFormula b)
This method determines whether two formulas are
equivalent wrt.
|
String |
getBinaryLocation()
Returns the path of the Prover9 binaries.
|
Boolean |
query(FolBeliefSet kb,
FolFormula query) |
void |
setBinaryLocation(String binaryLocation)
Changes the path of the Prover9 binaries.
|
getDefaultReasoner, setDefaultReasonerpublic Prover9FolReasoner(String binaryLocation, net.sf.tweety.commons.util.Shell bash)
binaryLocation - of the prover9 executable on the hard drivebash - shell to run commandspublic Prover9FolReasoner(String binaryLocation)
binaryLocation - of the prover9 executable on the hard drivepublic Boolean query(FolBeliefSet kb, FolFormula query)
query in interface net.sf.tweety.commons.QualitativeReasoner<FolBeliefSet,FolFormula>query in interface net.sf.tweety.commons.Reasoner<Boolean,FolBeliefSet,FolFormula>query in class FolReasonerpublic boolean equivalent(FolBeliefSet kb, FolFormula a, FolFormula b)
FolReasonerequivalent in class FolReasonerkb - the knowledge basea - the first formula.b - the second formula.public String getBinaryLocation()
public void setBinaryLocation(String binaryLocation)
binaryLocation - the new path of the binaryCopyright © 2019. All rights reserved.