Package net.sf.tweety.arg.dung.semantics
Class StratifiedLabeling
- java.lang.Object
-
- net.sf.tweety.commons.AbstractInterpretation<DungTheory,Argument>
-
- net.sf.tweety.arg.dung.semantics.StratifiedLabeling
-
- All Implemented Interfaces:
Map<Argument,Integer>,net.sf.tweety.commons.Interpretation<DungTheory,Argument>
public class StratifiedLabeling extends net.sf.tweety.commons.AbstractInterpretation<DungTheory,Argument> implements Map<Argument,Integer>
This class implements stratified labelings as in [Thimm, Kern-Isberner, 2013].- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description StratifiedLabeling()Creates a new empty stratified labeling.
-
Method Summary
Modifier and Type Method Description voidclear()booleancontainsKey(Object arg0)booleancontainsValue(Object arg0)Set<Map.Entry<Argument,Integer>>entrySet()Integerget(Object arg0)booleanisEmpty()Set<Argument>keySet()Integerput(Argument arg0, Integer arg1)voidputAll(Map<? extends Argument,? extends Integer> arg0)Integerremove(Object arg0)booleansatisfies(Argument formula)booleansatisfies(DungTheory beliefBase)intsize()StringtoString()Collection<Integer>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object arg0)
- Specified by:
containsKeyin interfaceMap<Argument,Integer>
-
containsValue
public boolean containsValue(Object arg0)
- Specified by:
containsValuein interfaceMap<Argument,Integer>
-
satisfies
public boolean satisfies(Argument formula) throws IllegalArgumentException
- Specified by:
satisfiesin interfacenet.sf.tweety.commons.Interpretation<DungTheory,Argument>- Throws:
IllegalArgumentException
-
satisfies
public boolean satisfies(DungTheory beliefBase) throws IllegalArgumentException
- Specified by:
satisfiesin interfacenet.sf.tweety.commons.Interpretation<DungTheory,Argument>- Throws:
IllegalArgumentException
-
-