Package net.sf.tweety.arg.saf.syntax
Class StructuredArgumentationFramework
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSet<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.arg.dung.syntax.DungSignature>
-
- net.sf.tweety.arg.dung.syntax.DungTheory
-
- net.sf.tweety.arg.saf.syntax.StructuredArgumentationFramework
-
- All Implemented Interfaces:
Comparable<net.sf.tweety.arg.dung.syntax.DungTheory>,Iterable<net.sf.tweety.arg.dung.syntax.Argument>,Collection<net.sf.tweety.arg.dung.syntax.Argument>,net.sf.tweety.commons.BeliefBase,net.sf.tweety.graphs.Graph<net.sf.tweety.arg.dung.syntax.Argument>
public class StructuredArgumentationFramework extends net.sf.tweety.arg.dung.syntax.DungTheoryThis class represents a structured argumentation framework, i.e. a set of basic arguments and an attack relation.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description StructuredArgumentationFramework()Creates a new empty structured argumentation framework.
-
Method Summary
Modifier and Type Method Description Collection<net.sf.tweety.logics.pl.syntax.Proposition>getAllPropositions()net.sf.tweety.arg.dung.syntax.DungSignaturegetSignature()booleanisAttackedBy(net.sf.tweety.arg.dung.syntax.Argument arg1, net.sf.tweety.arg.dung.syntax.Argument arg2)net.sf.tweety.arg.dung.syntax.DungTheorytoDungTheory()Constructs a (pure) Dung theory from this structured argumentation framework.-
Methods inherited from class net.sf.tweety.arg.dung.syntax.DungTheory
add, add, add, add, addAllAttacks, addAttack, areAdjacent, compareTo, contains, containsAll, containsAttack, containsCycle, equals, existsDirectedPath, faf, getAdjacencyMatrix, getAttacked, getAttackers, getAttacks, getChildren, getComplementGraph, getComponents, getEdge, getEdges, getMinimalSignature, getNeighbors, getNodes, getNumberOfNodes, getParents, getRestriction, getStronglyConnectedComponents, getSubgraphs, hasAttackBranch, hasDefenseBranch, hashCode, hasSelfLoops, instantiateSignature, isAttackBranch, isAttacked, isAttacked, isAttackedBy, isAttackingAllOtherArguments, isCoherent, isDefenseBranch, isIndirectAttack, isRelativelyCoherent, isStable, isSupport, isWeightedGraph, isWellFounded, prettyPrint, remove, remove, removeAll, toString
-
Methods inherited from class net.sf.tweety.commons.BeliefSet
addAll, clear, instantiateSet, isEmpty, iterator, remove, retainAll, setSignature, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Method Detail
-
getSignature
public net.sf.tweety.arg.dung.syntax.DungSignature getSignature()
- Overrides:
getSignaturein classnet.sf.tweety.commons.BeliefSet<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.arg.dung.syntax.DungSignature>
-
getAllPropositions
public Collection<net.sf.tweety.logics.pl.syntax.Proposition> getAllPropositions()
-
isAttackedBy
public boolean isAttackedBy(net.sf.tweety.arg.dung.syntax.Argument arg1, net.sf.tweety.arg.dung.syntax.Argument arg2)- Overrides:
isAttackedByin classnet.sf.tweety.arg.dung.syntax.DungTheory
-
toDungTheory
public net.sf.tweety.arg.dung.syntax.DungTheory 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.
-
-