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(net.sf.tweety.logics.fol.syntax.FolFormula query)
Performs the actual querying.
|
void |
reset()
Resets this reasoner (removes cached files etc.)
|
computeWeight, getSignature, numberOfGroundSatisfactions, querypublic IteratingMlnReasoner(AbstractMlnReasoner reasoner, long numberOfIterations)
reasoner - some MLN reasoner.numberOfIterations - the number of iterations for the reasonerpublic void reset()
AbstractMlnReasonerreset in class AbstractMlnReasonerprotected double doQuery(net.sf.tweety.logics.fol.syntax.FolFormula query)
AbstractMlnReasonerdoQuery in class AbstractMlnReasonerquery - a fol formula guaranteed to be ground.Copyright © 2018. All rights reserved.