Class ClaimBasedTheory
java.lang.Object
org.tweetyproject.commons.BeliefSet<Argument,DungSignature>
org.tweetyproject.arg.dung.syntax.DungTheory
org.tweetyproject.arg.dung.syntax.ClaimBasedTheory
- All Implemented Interfaces:
Comparable<DungTheory>,Iterable<Argument>,Collection<Argument>,ArgumentationFramework<Argument>,BeliefBase,GeneralGraph<Argument>,Graph<Argument>
Implements a claim-based argumentation theory.
See: "The Complexity Landscape of Claim-Augmented Argumentation Frameworks"
by Wolfgang Dvorak, Alexander Gressler, Anna Rapberger, and Stefan Woltran.
- Author:
- Sebastian Franke
-
Field Summary
Fields inherited from class org.tweetyproject.commons.BeliefSet
EQUALS_USES_SIGNATUREFields inherited from interface org.tweetyproject.graphs.Graph
IGNORE_SELFLOOPS, INVERT_SELFLOOPS, REMOVE_SELFLOOPS -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty claim-based theory.ClaimBasedTheory(HashMap<ClaimArgument, Claim> claimMap) Creates a new claim-based theory from a claim map. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ClaimArgument arg) Adds a claim argument to this theory.Returns all claims defeated by the extension.Returns all claims in this theory.getClaims(Extension<DungTheory> ext) Returns all claims of a given extension.voidSets the claims of this theory.Methods inherited from class org.tweetyproject.arg.dung.syntax.DungTheory
add, add, add, add, add, addAllAttacks, addAttack, areAdjacent, clone, compareTo, contains, containsAll, containsAttack, containsCycle, containsOddCycle, equals, equalsIn, existsDirectedPath, faf, getAdjacencyMatrix, getAttacked, getAttacked, getAttackers, getAttackers, getAttacks, getBidirectionalAttacks, getChildren, getComplementGraph, getComponents, getConnectedComponents, getEdge, getEdges, getInducedSubgraphs, getMinimalSignature, getNeighbors, getNodes, getNumberOfEdges, getNumberOfNodes, getParents, getReduct, getReduct, getRestriction, getStronglyConnectedComponents, getSubgraphs, getUnattackedAttackers, getUndefendedAttacks, hasAttackBranch, hasDefenseBranch, hashCode, hasSelfLoops, isAcceptable, isAdmissible, isAttackBranch, isAttacked, isAttacked, isAttackedBy, isAttackedBy, isAttackingAllOtherArguments, isCoherent, isComplete, isConflictFree, isConflictFree, isDefenseBranch, isIndirectAttack, isPreferred, isRelativelyCoherent, isStable, isStronglyDefendedBy, isSupport, isWeightedGraph, isWellFounded, prettyPrint, remove, remove, removeAll, toStringMethods inherited from class org.tweetyproject.commons.BeliefSet
add, addAll, clear, getSignature, isEmpty, iterator, remove, retainAll, setSignature, size, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface org.tweetyproject.graphs.Graph
getAncestors, getAncestors, iterator
-
Constructor Details
-
ClaimBasedTheory
public ClaimBasedTheory()Creates a new empty claim-based theory. -
ClaimBasedTheory
Creates a new claim-based theory from a claim map.- Parameters:
claimMap- the map if arguments to claims
-
-
Method Details
-
add
Adds a claim argument to this theory.- Parameters:
arg- argument
-
getClaims
Returns all claims in this theory.- Returns:
- the claims
-
setClaims
Sets the claims of this theory.- Parameters:
claims- the claims to set
-
getClaims
Returns all claims of a given extension.- Parameters:
ext- extension- Returns:
- the extension's claims
-
defeats
Returns all claims defeated by the extension.- Parameters:
ext- the extension- Returns:
- all claims defeated by the extension
-