Class AveragingSemantics
java.lang.Object
org.tweetyproject.logics.rpcl.semantics.AbstractRpclSemantics
org.tweetyproject.logics.rpcl.semantics.AveragingSemantics
- All Implemented Interfaces:
RpclSemantics
This class implements averaging semantics due to [Kern-Isberner, Thimm, KR'2010].
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSatisfactionStatement
(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) Returns the mathematical statement corresponding to the satisfaction of the given conditional wrt.boolean
Checks whether the given probability distribution satisfies the given conditional wrt.toString()
-
Constructor Details
-
AveragingSemantics
public AveragingSemantics()
-
-
Method Details
-
satisfies
Description copied from interface:RpclSemantics
Checks whether the given probability distribution satisfies the given conditional wrt. this semantics.- Specified by:
satisfies
in interfaceRpclSemantics
- Specified by:
satisfies
in classAbstractRpclSemantics
- Parameters:
p
- a probability distributionr
- a relational probability conditional.- Returns:
- "true" iff the given distribution satisfies the given conditional.
-
getSatisfactionStatement
public Statement getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) Description copied from interface:RpclSemantics
Returns the mathematical statement corresponding to the satisfaction of the given conditional wrt. this semantics and the given signature.- Specified by:
getSatisfactionStatement
in interfaceRpclSemantics
- Specified by:
getSatisfactionStatement
in classAbstractRpclSemantics
- Parameters:
r
- a relational probabilistic conditionalsignature
- a fol signatureworlds2vars
- a map mapping the interpretations of the fol to mathematical variables.- Returns:
- the mathematical statement corresponding to the satisfaction of the given conditional wrt. this semantics and the given signature.
-
toString
- Specified by:
toString
in interfaceRpclSemantics
- Specified by:
toString
in classAbstractRpclSemantics
-