Class MinMaxNumbering
java.lang.Object
org.tweetyproject.arg.dung.semantics.MinMaxNumbering
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInitializes 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 TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
getArgumentsOfRank
(Integer value) Retrieves a collection of arguments that have the specified rank value.boolean
isEmpty()
keySet()
void
int
size()
toString()
values()
Methods inherited from class java.lang.Object
equals, 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
-
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 anExtension
object, 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
Argument
objects that have the specified rank value.
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKey
in interfaceMap<Argument,
Integer>
-
containsValue
- Specified by:
containsValue
in interfaceMap<Argument,
Integer>
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-
toString
-