public class EFOLReasoner extends FolReasoner
defaultReasoner| Constructor and Description |
|---|
EFOLReasoner(String binaryLocation)
Constructs a new instance pointing to a specific EProver.
|
EFOLReasoner(String binaryLocation,
net.sf.tweety.commons.util.Shell bash)
Constructs a new instance pointing to a specific EProver.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(FolBeliefSet kb,
FolFormula a,
FolFormula b)
This method determines whether two formulas are
equivalent wrt.
|
String |
getAdditionalArguments()
Returns the additional arguments given to the call of the
EProver binary (Default value is "--auto-schedule").
|
String |
getBinaryLocation()
Returns the path of the EProver binary.
|
Boolean |
query(FolBeliefSet kb,
FolFormula query) |
void |
setAdditionalArguments(String s)
Sets the additional arguments given to the call of the
EProver binary (Default value is "--auto-schedule").
|
void |
setBinaryLocation(String binaryLocation)
Changes the path of the EProver binary.
|
getDefaultReasoner, setDefaultReasonerpublic EFOLReasoner(String binaryLocation, net.sf.tweety.commons.util.Shell bash)
binaryLocation - location of the EProver executable on the hard drivebash - shell to run commandspublic EFOLReasoner(String binaryLocation)
binaryLocation - location of the Eprover executable on the hard drivepublic void setAdditionalArguments(String s)
s - some stringpublic String getAdditionalArguments()
public 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 EProver binaryCopyright © 2019. All rights reserved.