Class IdentityEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.IdentityEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class defines 'syntactic' equivalence of
Argumentation Frameworks,
i.e., it checks whether two AFs have exactly the same arguments and attacks.- Author:
- Julian Sander
-
Constructor Summary
Constructors -
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
-
IdentityEquivalence
public IdentityEquivalence()
-
-
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
-