Class AbstractSocialSemantics<L>
- java.lang.Object
-
- net.sf.tweety.arg.social.semantics.AbstractSocialSemantics<L>
-
- Type Parameters:
L- The set used for valuations
- All Implemented Interfaces:
java.util.Comparator<L>
- Direct Known Subclasses:
SimpleProductSemantics
public abstract class AbstractSocialSemantics<L> extends java.lang.Object implements java.util.Comparator<L>This is the abstract ancestor of concrete semantics for social abstract argumentation frameworks, cf. [Leite, Martins; IJCAI 2011, Def. 3]- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description AbstractSocialSemantics()
-
Method Summary
Modifier and Type Method Description Land(java.util.Collection<L> arg)The AND-operation on all given argumentsabstract Land(L arg1, L arg2)The AND-operation on L in this frameworkabstract LbottomElement()Returns the bottom element of this semantics.abstract intcompare(java.lang.Double arg0, java.lang.Double arg1)abstract Lneg(L arg)The NEG-operation on L in this frameworkLor(java.util.Collection<L> arg)The OR-operation on all given argumentsabstract Lor(L arg1, L arg2)The OR-operation on L in this frameworkabstract Lsupp(int pos, int neg)The vote aggregation functionabstract LtopElement()Returns the top element of this semantics.
-
-
-
Method Detail
-
bottomElement
public abstract L bottomElement()
Returns the bottom element of this semantics.- Returns:
- the bottom element of this semantics.
-
topElement
public abstract L topElement()
Returns the top element of this semantics.- Returns:
- the top element of this semantics.
-
supp
public abstract L supp(int pos, int neg)
The vote aggregation function- Parameters:
pos- the number of positive votesneg- the number of negative votes- Returns:
- the social support aggregated from the votes.
-
and
public abstract L and(L arg1, L arg2)
The AND-operation on L in this framework- Parameters:
arg1- some value in Larg2- some value in L- Returns:
- the AND of the both values
-
or
public abstract L or(L arg1, L arg2)
The OR-operation on L in this framework- Parameters:
arg1- some value in Larg2- some value in L- Returns:
- the OR of the both values
-
neg
public abstract L neg(L arg)
The NEG-operation on L in this framework- Parameters:
arg- some value in L- Returns:
- the negation of the given value.
-
and
public L and(java.util.Collection<L> arg)
The AND-operation on all given arguments- Parameters:
arg- some values in L- Returns:
- The AND of all given arguments
-
or
public L or(java.util.Collection<L> arg)
The OR-operation on all given arguments- Parameters:
arg- some values in L- Returns:
- The OR of all given arguments
-
compare
public abstract int compare(java.lang.Double arg0, java.lang.Double arg1)
-
-