Class StrongEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.StrongEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class defines 'Strong' equivalence for
Argumentation Frameworks
wrt. some Semantics
,
* i.e., two AFs F,G are strongly equivalent if they possess the same set of
* Extensions
wrt. some Semantics
when conjoined
with some arbitrary AF H.- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
ConstructorDescriptionStrongEquivalence
(EquivalenceKernel kernel) Initialize Strong Equivalence with the given kernelStrongEquivalence
(Semantics semantics) Initializes a Strong Equivalence Instance with a kernel for the given semantics -
Method Summary
Modifier and TypeMethodDescriptiongetEquivalentTheories
(DungTheory baseTheory) Computes the 'equivalence class' of the given Argumentation Framework, i.e., the set of all argumentation frameworks that are strongly equivalent wrt.getName()
Return the name of this equivalence notionboolean
isEquivalent
(Collection<DungTheory> objects) Checks whether the specified collection of objects are pairwise equivalentboolean
isEquivalent
(DungTheory theory1, DungTheory theory2) Checks whether the specified objects are equivalent
-
Constructor Details
-
StrongEquivalence
Initializes a Strong Equivalence Instance with a kernel for the given semantics- Parameters:
semantics
- some semantics
-
StrongEquivalence
Initialize Strong Equivalence with the given kernel- Parameters:
kernel
- an equivalence kernel
-
-
Method Details
-
isEquivalent
Description copied from interface:Equivalence
Checks whether the specified objects are equivalent- Specified by:
isEquivalent
in interfaceEquivalence<DungTheory>
- Parameters:
theory1
- an object of typeEquivalence
theory2
- an object of typeEquivalence
- Returns:
- true, iff both object are equivalent wrt. this equivalence notion
-
isEquivalent
Description copied from interface:Equivalence
Checks whether the specified collection of objects are pairwise equivalent- Specified by:
isEquivalent
in interfaceEquivalence<DungTheory>
- Parameters:
objects
- A collection of objects of typeEquivalence
- Returns:
- true, iff all objects are equivalent wrt. this equivalence notion
-
getEquivalentTheories
Computes the 'equivalence class' of the given Argumentation Framework, i.e., the set of all argumentation frameworks that are strongly equivalent wrt. the kernel- Parameters:
baseTheory
- some argumentation framework- Returns:
- the set of equivalent argumentation frameworks
-
getName
Description copied from interface:Equivalence
Return the name of this equivalence notion- Specified by:
getName
in interfaceEquivalence<DungTheory>
- Returns:
- name of this equivalence notion
-