Class IncompleteTheory
java.lang.Object
org.tweetyproject.commons.BeliefSet<Argument,DungSignature>
org.tweetyproject.arg.dung.syntax.DungTheory
org.tweetyproject.arg.dung.syntax.IncompleteTheory
- All Implemented Interfaces:
Comparable<DungTheory>
,Iterable<Argument>
,Collection<Argument>
,ArgumentationFramework<Argument>
,BeliefBase
,GeneralGraph<Argument>
,Graph<Argument>
implementation of incomplete argumentation frameworks
- Author:
- Sebastian Franke
-
Field Summary
FieldsModifier and TypeFieldDescriptiondefinite argumentsdefinite attacksuncertin argumentsuncertain attacksFields inherited from class org.tweetyproject.commons.BeliefSet
EQUALS_USES_SIGNATURE
Fields inherited from interface org.tweetyproject.graphs.Graph
IGNORE_SELFLOOPS, INVERT_SELFLOOPS, REMOVE_SELFLOOPS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
adds definite argumentvoid
addDefiniteAttack
(Argument arg1, Argument arg2) adds definiet attackvoid
adds possible argumentvoid
addPossibleAttack
(Argument arg1, Argument arg2) adds uncertain argumentvoid
instantiate
(Set<Argument> usedPossibleArguments, Set<Attack> usedPossibleAttacks) instantiates some possible arguments and attacksvoid
merge
(HashSet<DungTheory> theories) merges DungTheories to one incomplete theoryvoid
constructs optimistic completion (all attacks from and to set s are instantiated and no other possible attacks)void
constructs pessimistic completion (all attacks but the ones from and to set s are instantiated and no other possible attacks)constructs powerset of generic typeMethods 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, getEdge, getEdges, getInducedSubgraphs, getMinimalSignature, getNeighbors, getNodes, getNumberOfNodes, getParents, getReduct, getRestriction, getStronglyConnectedComponents, getSubgraphs, hasAttackBranch, hasDefenseBranch, hashCode, hasSelfLoops, isAcceptable, isAdmissable, isAttackBranch, isAttacked, isAttacked, isAttackedBy, isAttackedBy, isAttackingAllOtherArguments, isCoherent, isComplete, isConflictFree, isDefenseBranch, isIndirectAttack, isRelativelyCoherent, isStable, isSupport, isWeightedGraph, isWellFounded, prettyPrint, remove, remove, removeAll, toString
Methods inherited from class org.tweetyproject.commons.BeliefSet
add, addAll, clear, getSignature, isEmpty, iterator, remove, retainAll, setSignature, size, toArray, toArray, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
definiteArguments
definite arguments -
definiteAttacks
definite attacks -
uncertainArgument
uncertin arguments -
uncertainAttacks
uncertain attacks
-
-
Constructor Details
-
IncompleteTheory
public IncompleteTheory()costructor
-
-
Method Details
-
addDefiniteArgument
adds definite argument- Parameters:
arg
- argument
-
addPossibleArgument
adds possible argument- Parameters:
arg
- argument
-
addPossibleAttack
adds uncertain argument- Parameters:
arg1
- argument 1arg2
- argument 2
-
addDefiniteAttack
adds definiet attack- Parameters:
arg1
- argument 1arg2
- argument 2
-
instantiate
instantiates some possible arguments and attacks- Parameters:
usedPossibleArguments
- arguments from this.possibleArgumentsusedPossibleAttacks
- attacks from this.possibleAttacks
-
merge
merges DungTheories to one incomplete theory- Parameters:
theories
- the theories to merge
-
powerSet
constructs powerset of generic type- Type Parameters:
T
- generic types (i.e. arguments)- Parameters:
originalSet
- the set to build power set- Returns:
- power set
-
optimisticCompletion
constructs optimistic completion (all attacks from and to set s are instantiated and no other possible attacks)- Parameters:
s
- a set of argumemts
-
pessimisticCompletion
constructs pessimistic completion (all attacks but the ones from and to set s are instantiated and no other possible attacks)- Parameters:
s
- a set of argumemts
-