Class InducedTheory
java.lang.Object
org.tweetyproject.commons.BeliefSet<Argument,DungSignature>
org.tweetyproject.arg.dung.syntax.DungTheory
org.tweetyproject.arg.dung.causal.syntax.InducedTheory
- All Implemented Interfaces:
Comparable<DungTheory>,Iterable<Argument>,Collection<Argument>,ArgumentationFramework<Argument>,BeliefBase,GeneralGraph<Argument>,Graph<Argument>
This class describes an
abstract argumentation framework that was induced by a CausalKnowledgeBase
Reference "Argumentation-based Causal and Counterfactual Reasoning" by
Lars Bengel, Lydia Blümel, Tjitze Rienstra and Matthias Thimm, published at 1st International Workshop on Argumentation
for eXplainable AI (ArgXAI, co-located with COMMA ’22), September 12, 2022- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
- See Also:
-
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
ConstructorsConstructorDescriptionInducedTheory(CausalKnowledgeBase knowledgeBase) Creates an abstract argumentation framework, which was induced from a specified causal knowledge base -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds the given node to this graph.booleanaddAttack(InducedArgument attacker, InducedArgument attacked) Adds an attack from the first argument to the second to this theory.booleanAdds an attack from the first argument to the second to thisDdung theory.booleanThis method checks if a specified fomula can be concluded from this instance, by checking if all stable extension contain at least one argument with the conclusion to check.Retrieves all InducedArguments from the theory.Retrieves the causal knowledge base associated with this theory.Methods inherited from class org.tweetyproject.arg.dung.syntax.DungTheory
add, add, add, add, addAllAttacks, areAdjacent, clone, compareTo, contains, containsAll, containsAttack, containsCycle, containsOddCycle, equals, equalsIn, existsDirectedPath, faf, getAdjacencyMatrix, getAttacked, getAttacked, getAttackers, getAttackers, getAttacks, getBidirectionalAttacks, getChildren, getComplementGraph, getComponents, getEdge, getEdges, getInducedSubgraphs, getMinimalSignature, getNeighbors, getNodes, getNumberOfEdges, getNumberOfNodes, getParents, getReduct, getRestriction, getStronglyConnectedComponents, getSubgraphs, getUnattackedAttackers, getUndefendedAttacks, hasAttackBranch, hasDefenseBranch, hashCode, hasSelfLoops, isAcceptable, isAdmissible, isAttackBranch, isAttacked, isAttacked, isAttackedBy, isAttackedBy, isAttackingAllOtherArguments, isCoherent, isComplete, isConflictFree, isConflictFree, isDefenseBranch, isIndirectAttack, 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, toArray
-
Constructor Details
-
InducedTheory
Creates an abstract argumentation framework, which was induced from a specified causal knowledge base- Parameters:
knowledgeBase- The causal knowledge base, which was the origin for this framework.
-
-
Method Details
-
add
Description copied from interface:GraphAdds the given node to this graph.- Specified by:
addin interfaceCollection<Argument>- Specified by:
addin interfaceGraph<Argument>- Overrides:
addin classDungTheory- Parameters:
argument- some node.- Returns:
- "true" iff the edge has been added successfully.
-
addAttack
Description copied from class:DungTheoryAdds an attack from the first argument to the second to thisDdung theory.- Overrides:
addAttackin classDungTheory- Parameters:
attacker- some argumentattacked- some argument- Returns:
- "true" if the set of attacks has been modified.
-
addAttack
Adds an attack from the first argument to the second to this theory.- Parameters:
attacker- Argument which undercuts the second argument.attacked- Argument which is undercut by the first argument.- Returns:
- TRUE iff the set of attacks was changed. FALSE if the attack was already element of the set.
-
entails
This method checks if a specified fomula can be concluded from this instance, by checking if all stable extension contain at least one argument with the conclusion to check.- Parameters:
conclusion- Formula, which is in question to be a conclusion of this instance.- Returns:
- TRUE iff the conclusion can be drawn from this instance. FALSE if not.
-
getArguments
Retrieves all InducedArguments from the theory.- Returns:
- A set of all InducedArguments within this theory.
-
getKnowledgeBase
Retrieves the causal knowledge base associated with this theory.- Returns:
- The causal knowledge base from which this theory is induced.
-