Package org.tweetyproject.arg.saf.syntax
Class StructuredArgumentationFramework
java.lang.Object
org.tweetyproject.commons.BeliefSet<Argument,DungSignature>
org.tweetyproject.arg.dung.syntax.DungTheory
org.tweetyproject.arg.saf.syntax.StructuredArgumentationFramework
- All Implemented Interfaces:
Comparable<DungTheory>,Iterable<Argument>,Collection<Argument>,ArgumentationFramework<Argument>,BeliefBase,GeneralGraph<Argument>,Graph<Argument>
- Direct Known Subclasses:
PerceivableStructuredArgumentationFramework
This class represents a structured argumentation framework, i.e. a set of
basic arguments and an attack relation.
- Author:
- Matthias Thimm
-
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 structured argumentation framework. -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of the signature that is attached to his belief base (it is always equal to or larger thanBeliefBase.getMinimalSignature()).booleanisAttackedBy(Argument arg1, Argument arg2) Checks whether arg1 is attacked by arg2.Constructs a (pure) Dung theory from this structured argumentation framework.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, existsDirectedPath, faf, getAdjacencyMatrix, getAttacked, getAttacked, getAttackers, getAttackers, getAttacks, getBidirectionalAttacks, getChildren, getComplementGraph, getComponents, getEdge, getEdges, getInducedSubgraphs, getMinimalSignature, getNeighbors, getNodes, getNumberOfNodes, getParents, getRestriction, getStronglyConnectedComponents, getSubgraphs, hasAttackBranch, hasDefenseBranch, hashCode, hasSelfLoops, isAcceptable, isAdmissable, isAttackBranch, isAttacked, isAttacked, isAttackedBy, isAttackingAllOtherArguments, isCoherent, isConflictFree, isDefenseBranch, isIndirectAttack, isRelativelyCoherent, isStable, isSupport, isWeightedGraph, isWellFounded, prettyPrint, remove, remove, removeAll, toStringMethods inherited from class org.tweetyproject.commons.BeliefSet
add, addAll, clear, isEmpty, iterator, remove, retainAll, setSignature, size, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
StructuredArgumentationFramework
public StructuredArgumentationFramework()Creates a new empty structured argumentation framework.
-
-
Method Details
-
getSignature
Description copied from class:BeliefSetReturns a copy of the signature that is attached to his belief base (it is always equal to or larger thanBeliefBase.getMinimalSignature()).- Overrides:
getSignaturein classBeliefSet<Argument,DungSignature> - Returns:
- the signature of this knowledge base.
-
getAllPropositions
-
isAttackedBy
Description copied from class:DungTheoryChecks whether arg1 is attacked by arg2.- Overrides:
isAttackedByin classDungTheory- Parameters:
arg1- an argument.arg2- an argument.- Returns:
- "true" if arg1 is attacked by arg2
-
toDungTheory
Constructs a (pure) Dung theory from this structured argumentation framework. The set of arguments of this theory comprises of all possible argument structures of this framework, and the attack relation is determined by their attack relation.- Returns:
- a Dung theory.
-