Class NormalDeletionEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.NormalDeletionEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class defines normal deletion equivalence for
argumentation frameworks wrt. some semantics,
i.e., two AFs F and G are normal deletion equivalent iff they possess the same set of
extensions wrt. the semantics under every normal deletion.
A normal deletion deletes a set of arguments together with all their corresponding attacks.- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNormalDeletionEquivalence(Semantics semantics) Initializes a new instance of this equivalence wrt. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return the name of this equivalence notionbooleanisEquivalent(Collection<DungTheory> objects) Checks whether the specified collection of objects are pairwise equivalentbooleanisEquivalent(DungTheory obj1, DungTheory obj2) Checks whether the specified objects are equivalentstatic booleanisNormalDeletionEquivalent(DungTheory theory1, DungTheory theory2, Semantics semantics) Naively checks whether two AFs are normal deletion equivalence by comparing the extensions of every normal deletion
-
Constructor Details
-
NormalDeletionEquivalence
Initializes a new instance of this equivalence wrt. the given semantics- Parameters:
semantics- some semantics
-
-
Method Details
-
isEquivalent
Description copied from interface:EquivalenceChecks whether the specified objects are equivalent- Specified by:
isEquivalentin interfaceEquivalence<DungTheory>- Parameters:
obj1- an object of typeTobj2- an object of typeT- Returns:
- true, iff both object are equivalent wrt. this equivalence notion
-
isEquivalent
Description copied from interface:EquivalenceChecks whether the specified collection of objects are pairwise equivalent- Specified by:
isEquivalentin interfaceEquivalence<DungTheory>- Parameters:
objects- A collection of objects of typeT- Returns:
- true, iff all objects are equivalent wrt. this equivalence notion
-
getName
Description copied from interface:EquivalenceReturn the name of this equivalence notion- Specified by:
getNamein interfaceEquivalence<DungTheory>- Returns:
- name of this equivalence notion
-
isNormalDeletionEquivalent
public static boolean isNormalDeletionEquivalent(DungTheory theory1, DungTheory theory2, Semantics semantics) Naively checks whether two AFs are normal deletion equivalence by comparing the extensions of every normal deletion- Parameters:
theory1- some argumentation frameworktheory2- some argumentation frameworksemantics- some semantics- Returns:
- 'true' iff both AFs are normal deletion equivalent under the given semantics
-