Package net.sf.tweety.arg.prob.syntax
Class PartialProbabilityAssignment
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<Argument,Probability>
-
- net.sf.tweety.arg.prob.syntax.PartialProbabilityAssignment
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<Argument,Probability>
,BeliefBase
public class PartialProbabilityAssignment extends java.util.HashMap<Argument,Probability> implements BeliefBase
A partial probability assignment for abstract argumentation theories.- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartialProbabilityAssignment()
-
Method Summary
Modifier and Type Method Description Signature
getMinimalSignature()
Returns the signature of the language of this knowledge base.boolean
isCompliant(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 interface net.sf.tweety.commons.BeliefBase
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 Signature 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.
-
-