Package net.sf.tweety.arg.prob.syntax
Class PartialProbabilityAssignment
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.math.probability.Probability>
-
- net.sf.tweety.arg.prob.syntax.PartialProbabilityAssignment
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.math.probability.Probability>,net.sf.tweety.commons.BeliefBase
public class PartialProbabilityAssignment extends HashMap<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.math.probability.Probability> implements net.sf.tweety.commons.BeliefBase
A partial probability assignment for abstract argumentation theories.- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description PartialProbabilityAssignment()
-
Method Summary
Modifier and Type Method Description net.sf.tweety.commons.SignaturegetMinimalSignature()booleanisCompliant(ProbabilisticExtension pext)Checks whether the given probabilistic extension is compliant with this partial probability assignment, i.e.-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
isCompliant
public boolean isCompliant(ProbabilisticExtension pext)
Checks whether the given probabilistic extension is compliant with this partial probability assignment, i.e. whether the probabilities of the arguments coincide.- Parameters:
pext- some probabilistic extension.- Returns:
- "true" iff the given probabilistic extension is compliant.
-
getMinimalSignature
public net.sf.tweety.commons.Signature getMinimalSignature()
- Specified by:
getMinimalSignaturein interfacenet.sf.tweety.commons.BeliefBase
-
-