Class StandardEquivalence
java.lang.Object
org.tweetyproject.arg.dung.equivalence.StandardEquivalence
- All Implemented Interfaces:
Equivalence<DungTheory>
This class represents an comparator, which defines if 2 argumentation frameworks are equivalent,
by comparing if they have the same extensions wrt a semantics specified by a reasoner.
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEquivalent(Collection<DungTheory> objects) Checks whether the specified objects are equivalent, in a sense that every single object is equivalent to every other object in the setbooleanisEquivalent(DungTheory obj1, DungTheory obj2) Checks whether the specified objects are equivalent
-
Constructor Details
-
StandardEquivalence
- Parameters:
reasoner- Reasoner used to compute the extensions of a argumentation framework, in order to examine its equivalence
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceEquivalence<DungTheory>- Returns:
- Description of the definition
-
isEquivalent
Description copied from interface:EquivalenceChecks whether the specified objects are equivalent, in a sense that every single object is equivalent to every other object in the set- Specified by:
isEquivalentin interfaceEquivalence<DungTheory>- Parameters:
objects- A collection of objects of the type-parameter- Returns:
- TRUE iff all objects are equivalent
-
isEquivalent
Description copied from interface:EquivalenceChecks whether the specified objects are equivalent- Specified by:
isEquivalentin interfaceEquivalence<DungTheory>- Parameters:
obj1- an object of the type-parameterobj2- an object of the type-parameter- Returns:
- true if both theories are equivalent
-