public class GrossiModgilRankingReasoner
extends net.sf.tweety.commons.Reasoner
| Constructor and Description |
|---|
GrossiModgilRankingReasoner(DungTheory theory)
Creates a new reasoner for the given Dung theory
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Extension> |
getAllMNCompleteExtensions(int m,
int n)
Returns all mn-complete extensions.
|
Collection<Extension> |
getAllMNGroundedExtensions(int m,
int n)
Returns all mn-grounded extensions.
|
Collection<Extension> |
getAllMNPreferredExtensions(int m,
int n)
Returns all mn-preferred extensions.
|
Collection<Extension> |
getAllMStableExtensions(int m)
Returns all m-stable extensions.
|
ArgumentRanking |
getCompleteRanking()
Returns the ranking wrt.
|
Collection<Argument> |
gradedDefense(Collection<Argument> args,
int m,
int n)
Implements the graded defense function from Def.
|
Collection<Argument> |
gradedNeutrality(Collection<Argument> args,
int m)
Implements the graded neutrality function from Def.
|
boolean |
isMConflictFree(Collection<Argument> args,
int m)
Checks whether the given set of arguments is m-conflict-free, cf.
|
boolean |
isMNAdmissible(Collection<Argument> args,
int m,
int n)
Checks whether the given set of arguments is mn-admissible, cf.
|
boolean |
isMNComplete(Collection<Argument> args,
int m,
int n)
Checks whether the given set of arguments is mn-complete, cf.
|
boolean |
isMNGrounded(Collection<Argument> args,
int m,
int n)
Checks whether the given set of arguments is mn-grounded, cf.
|
boolean |
isMNPreferred(Collection<Argument> args,
int m,
int n)
Checks whether the given set of arguments is mn-preferred, cf.
|
boolean |
isMStable(Collection<Argument> args,
int m)
Checks whether the given set of arguments is m-stable, cf.
|
net.sf.tweety.commons.Answer |
query(net.sf.tweety.commons.Formula query) |
public GrossiModgilRankingReasoner(DungTheory theory)
theory - public Collection<Argument> gradedDefense(Collection<Argument> args, int m, int n)
args - some set of argumentsm - some integer (indicating the number of attackers)n - some integer (indicating the number of attackers of attackers)public Collection<Argument> gradedNeutrality(Collection<Argument> args, int m)
args - some set of argumentsm - some integer (the number of attackers)public boolean isMConflictFree(Collection<Argument> args, int m)
args - some set of argumentsm - some integerpublic boolean isMNAdmissible(Collection<Argument> args, int m, int n)
args - some set of argumentsm - some integern - some integerpublic boolean isMNComplete(Collection<Argument> args, int m, int n)
args - some set of argumentsm - some integern - some integerpublic boolean isMStable(Collection<Argument> args, int m)
args - some set of argumentsm - some integerpublic boolean isMNGrounded(Collection<Argument> args, int m, int n)
args - some set of argumentsm - some integern - some integerpublic boolean isMNPreferred(Collection<Argument> args, int m, int n)
args - some set of argumentsm - some integern - some integerpublic Collection<Extension> getAllMNCompleteExtensions(int m, int n)
m - some integern - some integerpublic Collection<Extension> getAllMNPreferredExtensions(int m, int n)
m - some integern - some integerpublic Collection<Extension> getAllMNGroundedExtensions(int m, int n)
m - some integern - some integerpublic Collection<Extension> getAllMStableExtensions(int m)
m - some integern - some integerpublic ArgumentRanking getCompleteRanking()
public net.sf.tweety.commons.Answer query(net.sf.tweety.commons.Formula query)
query in class net.sf.tweety.commons.ReasonerCopyright © 2018. All rights reserved.