Class MinMaxNumbering
java.lang.Object
org.tweetyproject.arg.dung.semantics.MinMaxNumbering
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new empty Min-Max NumberingMinMaxNumbering(ArgumentationFramework<Argument> theory, Extension<? extends ArgumentationFramework<Argument>> extension) Initializes a new Min-Max Numbering for the given theory and extensionMinMaxNumbering(ArgumentationFramework<Argument> theory, Labeling labeling) Initialize a new Min-Max Numbering from the given theory and labeling -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()getArgumentsOfRank(Integer value) Retrieves a collection of arguments that have the specified rank value.booleanisEmpty()keySet()voidintsize()toString()values()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MinMaxNumbering
public MinMaxNumbering()Initializes a new empty Min-Max Numbering -
MinMaxNumbering
public MinMaxNumbering(ArgumentationFramework<Argument> theory, Extension<? extends ArgumentationFramework<Argument>> extension) Initializes a new Min-Max Numbering for the given theory and extension- Parameters:
theory- some argumentation frameworkextension- some extension
-
MinMaxNumbering
Initialize a new Min-Max Numbering from the given theory and labeling- Parameters:
theory- some argumentation frameworklabeling- some labeling
-
-
Method Details
-
getArgumentsOfRank
Retrieves a collection of arguments that have the specified rank value.This method iterates through the internal ranking of arguments and collects all arguments that have a rank equal to the provided
value. The resulting collection of arguments is returned as anExtensionobject, which is a specialized collection for handling sets of arguments.- Parameters:
value- The rank value to match against the arguments' ranks.- Returns:
- A collection of
Argumentobjects that have the specified rank value.
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<Argument,Integer>
-
containsValue
- Specified by:
containsValuein interfaceMap<Argument,Integer>
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-
toString
-