Class PartialProbabilityAssignment
java.lang.Object
java.util.AbstractMap<Argument,Probability>
java.util.HashMap<Argument,Probability>
org.tweetyproject.arg.prob.syntax.PartialProbabilityAssignment
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Argument,
,Probability> BeliefBase
public class PartialProbabilityAssignment
extends HashMap<Argument,Probability>
implements BeliefBase
A partial probability assignment for abstract argumentation theories.
- Author:
- Matthias Thimm
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the signature of the language of this knowledge base.boolean
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, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from interface org.tweetyproject.commons.BeliefBase
toString
-
Constructor Details
-
PartialProbabilityAssignment
public PartialProbabilityAssignment()Default
-
-
Method Details
-
isCompliant
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
Description copied from interface:BeliefBase
Returns the signature of the language of this knowledge base.- Specified by:
getMinimalSignature
in interfaceBeliefBase
- Returns:
- the signature of the language of this knowledge base.
-