Class SerialisationEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.SerialisationEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class defines 'Serialisation' equivalence for
Argumentation Frameworks
wrt. some Semantics
,
i.e., two AFs are serialisation equivalent if they possess the same set of
Serialisation Sequences
wrt. some Semantics
.- Author:
- Julian Sander, Lars Bengel
-
Constructor Summary
ConstructorDescriptionSerialisationEquivalence
(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 notionboolean
isEquivalent
(Collection<DungTheory> objects) Checks whether the specified collection of objects are pairwise equivalentboolean
isEquivalent
(DungTheory obj1, DungTheory obj2) Checks whether the specified objects are equivalent
-
Constructor Details
-
SerialisationEquivalence
Initializes a new instance of this equivalence notion for the given semantics- Parameters:
semantics
- some semantics
-
-
Method Details
-
isEquivalent
Description copied from interface:Equivalence
Checks whether the specified objects are equivalent- Specified by:
isEquivalent
in interfaceEquivalence<DungTheory>
- Parameters:
obj1
- an object of typeEquivalence
obj2
- 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
-
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
-