Class StandardEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.StandardEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class defines 'standard' equivalence for
Argumentation Frameworks wrt. some Semantics,
i.e., two AFs are standard equivalent if they possess the same set of
Extensions wrt. some Semantics.- Author:
- Julian Sander
-
Constructor Summary
ConstructorsConstructorDescriptionStandardEquivalence(Semantics semantics) Initializes a new instance of this equivalence notion for the given semantics -
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 equivalent
-
Constructor Details
-
StandardEquivalence
Initializes a new instance of this equivalence notion for the given semantics- Parameters:
semantics- some semantics
-
-
Method Details
-
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 typeEquivalence- Returns:
- true, iff all objects are equivalent wrt. this equivalence notion
-
isEquivalent
Description copied from interface:EquivalenceChecks whether the specified objects are equivalent- Specified by:
isEquivalentin interfaceEquivalence<DungTheory>- Parameters:
obj1- an object of typeEquivalenceobj2- an object of typeEquivalence- Returns:
- true, iff both object 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
-