Package net.sf.tweety.logics.cl.reasoner
Class CReasoner
- java.lang.Object
-
- net.sf.tweety.logics.cl.reasoner.AbstractConditionalLogicReasoner
-
- net.sf.tweety.logics.cl.reasoner.CReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.ModelProvider<Conditional,ClBeliefSet,RankingFunction>,net.sf.tweety.commons.QualitativeReasoner<ClBeliefSet,net.sf.tweety.logics.pl.syntax.PlFormula>,net.sf.tweety.commons.Reasoner<Boolean,ClBeliefSet,net.sf.tweety.logics.pl.syntax.PlFormula>
public class CReasoner extends AbstractConditionalLogicReasoner
This class models a c-reasoner for conditional logic. Reasoning is performed by computing a minimal c-representation for the given knowledge base.
A c-representation for a conditional knowledge base R={r1,...,rn} is a ranking function k such that k accepts every conditional in R (k |= R) and if there are numbers k0,k1+,k1-,...,kn+,kn- with
k(w)=k0 + \sum_{w verifies ri} ki+ + \sum_{w falsifies ri} kj- for every w. A c-representation is minimal if k0+...+kn- is minimal. This reasoner uses mathematical optimization for solving the above problem and is usually faster than the brute force approach.
See Gabriele Kern-Isberner. Conditionals in nonmonotonic reasoning and belief revision. Lecture Notes in Computer Science, Volume 2087. 2001.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description CReasoner()
-
Method Summary
Modifier and Type Method Description RankingFunctiongetModel(ClBeliefSet kb)-
Methods inherited from class net.sf.tweety.logics.cl.reasoner.AbstractConditionalLogicReasoner
getModels, query
-
-
-
-
Method Detail
-
getModel
public RankingFunction getModel(ClBeliefSet kb)
- Specified by:
getModelin interfacenet.sf.tweety.commons.ModelProvider<Conditional,ClBeliefSet,RankingFunction>- Specified by:
getModelin classAbstractConditionalLogicReasoner
-
-