public class IteratingMlnReasoner extends AbstractMlnReasoner
| Constructor and Description |
|---|
IteratingMlnReasoner(AbstractMlnReasoner reasoner,
long numberOfIterations)
Creates a new IteratingMlnReasoner for the given MLN reaasoner.
|
| 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 IteratingMlnReasoner(AbstractMlnReasoner reasoner, long numberOfIterations)
reasoner - some MLN reasoner.numberOfIterations - the number of iterations for the reasonerprotected 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.