public class NumericalArgumentRanking extends ArgumentRanking implements java.util.Map<Argument,java.lang.Double>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Argument,java.lang.Double> |
theMap
The actual map used for storing acceptability values
|
Constructor and Description |
---|
NumericalArgumentRanking()
Creates a new empty argument ranking
|
NumericalArgumentRanking(java.util.Collection<Argument> args,
double initialvalue)
Creates a new argument ranking.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object arg0) |
boolean |
containsValue(java.lang.Object arg0) |
java.util.Set<java.util.Map.Entry<Argument,java.lang.Double>> |
entrySet() |
java.lang.Double |
get(java.lang.Object arg0) |
Extension |
getArgumentsOfStatus(ArgumentStatus status)
Returns all arguments that have the given status in this interpretation.
|
boolean |
isEmpty() |
boolean |
isStrictlyLessOrEquallyAcceptableThan(Argument a,
Argument b)
Returns "true" iff a is strictly less acceptable than b or a is equally
acceptable as b or a and b are not comparable, i.e.
|
java.util.Set<Argument> |
keySet() |
java.lang.Double |
put(Argument arg0,
java.lang.Double arg1) |
void |
putAll(java.util.Map<? extends Argument,? extends java.lang.Double> arg0) |
java.lang.Double |
remove(java.lang.Object arg0) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<java.lang.Double> |
values() |
compare, getMaximallyAcceptedArguments, getMinimallyAcceptedArguments, isEquallyAcceptableThan, isStrictlyLessAcceptableThan, isStrictlyMoreAcceptableThan, isStrictlyMoreOrEquallyAcceptableThan
isAcceptable, isAdmissable, isConflictFree, satisfies, satisfies
satisfies
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private java.util.Map<Argument,java.lang.Double> theMap
public NumericalArgumentRanking()
public NumericalArgumentRanking(java.util.Collection<Argument> args, double initialvalue)
args
- some set of argumentsinitialvalue
- an initial value for all argumentspublic boolean isStrictlyLessOrEquallyAcceptableThan(Argument a, Argument b)
ArgumentRanking
isStrictlyLessOrEquallyAcceptableThan
in class ArgumentRanking
a
- some argumentb
- some argumentpublic Extension getArgumentsOfStatus(ArgumentStatus status)
AbstractArgumentationInterpretation
getArgumentsOfStatus
in class AbstractArgumentationInterpretation
status
- the status of the arguments to be returned.public java.lang.String toString()
toString
in class AbstractArgumentationInterpretation
public void clear()
clear
in interface java.util.Map<Argument,java.lang.Double>
public boolean containsKey(java.lang.Object arg0)
containsKey
in interface java.util.Map<Argument,java.lang.Double>
public boolean containsValue(java.lang.Object arg0)
containsValue
in interface java.util.Map<Argument,java.lang.Double>
public java.util.Set<java.util.Map.Entry<Argument,java.lang.Double>> entrySet()
entrySet
in interface java.util.Map<Argument,java.lang.Double>
public java.lang.Double get(java.lang.Object arg0)
get
in interface java.util.Map<Argument,java.lang.Double>
public boolean isEmpty()
isEmpty
in interface java.util.Map<Argument,java.lang.Double>
public java.util.Set<Argument> keySet()
keySet
in interface java.util.Map<Argument,java.lang.Double>
public java.lang.Double put(Argument arg0, java.lang.Double arg1)
put
in interface java.util.Map<Argument,java.lang.Double>
public void putAll(java.util.Map<? extends Argument,? extends java.lang.Double> arg0)
putAll
in interface java.util.Map<Argument,java.lang.Double>
public java.lang.Double remove(java.lang.Object arg0)
remove
in interface java.util.Map<Argument,java.lang.Double>
public int size()
size
in interface java.util.Map<Argument,java.lang.Double>
public java.util.Collection<java.lang.Double> values()
values
in interface java.util.Map<Argument,java.lang.Double>