Class SyntacticEquivalence

java.lang.Object
org.tweetyproject.arg.dung.equivalence.SyntacticEquivalence
All Implemented Interfaces:
Equivalence<DungTheory>

public class SyntacticEquivalence extends Object implements 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, Lars Bengel
  • Constructor Details

    • SyntacticEquivalence

      public SyntacticEquivalence()
  • Method Details

    • isEquivalent

      public boolean isEquivalent(DungTheory theory1, DungTheory theory2)
      Description copied from interface: Equivalence
      Checks whether the specified objects are equivalent
      Specified by:
      isEquivalent in interface Equivalence<DungTheory>
      Parameters:
      theory1 - an object of type T
      theory2 - an object of type T
      Returns:
      true, iff both object are equivalent wrt. this equivalence notion
    • isEquivalent

      public boolean isEquivalent(Collection<DungTheory> theories)
      Description copied from interface: Equivalence
      Checks whether the specified collection of objects are pairwise equivalent
      Specified by:
      isEquivalent in interface Equivalence<DungTheory>
      Parameters:
      theories - A collection of objects of type T
      Returns:
      true, iff all objects are equivalent wrt. this equivalence notion
    • getName

      public String getName()
      Description copied from interface: Equivalence
      Return the name of this equivalence notion
      Specified by:
      getName in interface Equivalence<DungTheory>
      Returns:
      name of this equivalence notion