public class SPASSModalReasoner extends AbstractModalReasoner
net.sf.tweety.logics.ml.SPASSTest#ComplexQueryTest() for examples.defaultReasoner| Constructor and Description |
|---|
SPASSModalReasoner(String binaryLocation)
Constructs a new instance pointing to a specific SPASS
|
SPASSModalReasoner(String binaryLocation,
net.sf.tweety.commons.util.Shell bash)
Constructs a new instance pointing to a specific SPASS Prover.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
query(ModalBeliefSet kb,
net.sf.tweety.logics.fol.syntax.FolFormula query) |
String |
queryProof(ModalBeliefSet kb,
net.sf.tweety.commons.Formula query)
Determines the answer wrt.
|
void |
setCmdOptions(String s)
Sets the command line options that will be used by SPASS when executing the query.
|
getDefaultReasoner, setDefaultReasonerpublic SPASSModalReasoner(String binaryLocation, net.sf.tweety.commons.util.Shell bash)
binaryLocation - of the SPASS executable on the hard drivebash - shell to run commandspublic SPASSModalReasoner(String binaryLocation)
binaryLocation - of the SPASS executable on the hard drivepublic void setCmdOptions(String s)
s - a string containing the command line argumentspublic Boolean query(ModalBeliefSet kb, net.sf.tweety.logics.fol.syntax.FolFormula query)
query in interface net.sf.tweety.commons.QualitativeReasoner<ModalBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>query in interface net.sf.tweety.commons.Reasoner<Boolean,ModalBeliefSet,net.sf.tweety.logics.fol.syntax.FolFormula>query in class AbstractModalReasonerpublic String queryProof(ModalBeliefSet kb, net.sf.tweety.commons.Formula query)
net.sf.tweety.logics.ml.reasoner.SPASSModalReasoner#query(Formula)
if only a yes/no result is needed.kb - a modal belief setquery - a formulaCopyright © 2019. All rights reserved.