Class SimpleMlnReasoner
java.lang.Object
org.tweetyproject.logics.mln.reasoner.AbstractMlnReasoner
org.tweetyproject.logics.mln.reasoner.SimpleMlnReasoner
- All Implemented Interfaces:
QuantitativeReasoner<MarkovLogicNetwork, FolFormula>
,Reasoner<Double, MarkovLogicNetwork, FolFormula>
This class implements a simple reasoner for MLNs.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
doQuery
(MarkovLogicNetwork mln, FolFormula query, FolSignature signature) boolean
Checks if the reasoner is installed.void
setTempDirectory
(String str) Sets the path of the directory for temporary files.Methods inherited from class org.tweetyproject.logics.mln.reasoner.AbstractMlnReasoner
query, query
-
Constructor Details
-
SimpleMlnReasoner
public SimpleMlnReasoner()Default
-
-
Method Details
-
setTempDirectory
Sets the path of the directory for temporary files.- Parameters:
str
- a file path
-
doQuery
-
isInstalled
public boolean isInstalled()Description copied from interface:QuantitativeReasoner
Checks if the reasoner is installed.- Returns:
- if reasoner is installed
-