public class SimpleSamplingMlnReasoner extends AbstractMlnReasoner
| Constructor and Description |
|---|
SimpleSamplingMlnReasoner(double precision,
int numOfPositiveTests)
Creates a new SimpleSamplingMlnReasoner for the given Markov logic network.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
doQuery(MarkovLogicNetwork mln,
net.sf.tweety.logics.fol.syntax.FolFormula query,
net.sf.tweety.logics.fol.syntax.FolSignature signature)
Performs the actual querying.
|
computeWeight, numberOfGroundSatisfactions, query, querypublic SimpleSamplingMlnReasoner(double precision,
int numOfPositiveTests)
beliefBase - a Markov logic network.signature - another signature (if the probability distribution should be defined
on that one (that one should subsume the signature of the Markov logic network)precision - the precisionnumOfPositiveTests - the number of positive consecutive tests on precisionprotected double doQuery(MarkovLogicNetwork mln, net.sf.tweety.logics.fol.syntax.FolFormula query, net.sf.tweety.logics.fol.syntax.FolSignature signature)
AbstractMlnReasonerdoQuery in class AbstractMlnReasonermln - an MLNquery - a fol formula guaranteed to be ground.Copyright © 2019. All rights reserved.