Class AggregatingSemantics
- java.lang.Object
-
- net.sf.tweety.logics.rpcl.semantics.AbstractRpclSemantics
-
- net.sf.tweety.logics.rpcl.semantics.AggregatingSemantics
-
- All Implemented Interfaces:
RpclSemantics
public class AggregatingSemantics extends AbstractRpclSemantics
This class implements aggregating semantics due to [Kern-Isberner, Thimm, KR'2010].- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description AggregatingSemantics()
-
Method Summary
Modifier and Type Method Description Statement
getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)
Returns the mathematical statement corresponding to the satisfaction of the given conditional wrt.boolean
satisfies(RpclProbabilityDistribution<?> p, RelationalProbabilisticConditional r)
Checks whether the given probability distribution satisfies the given conditional wrt.java.lang.String
toString()
-
-
-
Method Detail
-
satisfies
public boolean satisfies(RpclProbabilityDistribution<?> p, RelationalProbabilisticConditional r)
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, java.util.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
public java.lang.String toString()
- Specified by:
toString
in interfaceRpclSemantics
- Specified by:
toString
in classAbstractRpclSemantics
-
-