Class DirectionalityPrinciple

java.lang.Object
org.tweetyproject.arg.dung.principles.Principle
org.tweetyproject.arg.dung.principles.DirectionalityPrinciple
All Implemented Interfaces:
Postulate<Argument>
Direct Known Subclasses:
NonInterferencePrinciple, SemiDirectionalityPrinciple, WeakDirectionalityPrinciple

public class DirectionalityPrinciple extends Principle
Directionality Principle

A semantics satisfies directionality if for every unattacked set 'U' in an AF F it holds that: The extensions of F restricted to 'U' are equal to the extensions of F intersected with 'U'.

Author:
Lars Bengel
See Also:
  • "Baroni, P., and Giacomin, M. (2007). On principle-based evaluation of extension-based argumentation semantics."
  • Constructor Details

    • DirectionalityPrinciple

      public DirectionalityPrinciple()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Postulate
      The textual name of the postulate
      Returns:
      a string
    • isApplicable

      public boolean isApplicable(Collection<Argument> kb)
      Description copied from interface: Postulate
      Checks whether the given kb represents a non-trivial instance for this postulate, i.e., whether assumptions of this postulates are satisfied (evaluating an approach on a non-applicable instance always succeeds).
      Specified by:
      isApplicable in interface Postulate<Argument>
      Specified by:
      isApplicable in class Principle
      Parameters:
      kb - some knowledge base
      Returns:
      true if the knowledge base is a non trivial instance of this postulate.
    • isSatisfied

      public boolean isSatisfied(Collection<Argument> kb, AbstractExtensionReasoner ev)
      Description copied from class: Principle
      Computes whether the given extension reasoner (i.e. semantics) satisfies this principle for this specific instance
      Specified by:
      isSatisfied in class Principle
      Parameters:
      kb - some argumentation framework
      ev - an extension reasoner
      Returns:
      true, if this principle is satisfied for this instance and semantics
    • getUnattackedSets

      public Collection<Extension<DungTheory>> getUnattackedSets(DungTheory theory)
      utility method for calculating unattacked sets in a given theory a set E is unattacked in theory iff there exists no argument a in theory \ E, with a attacks E
      Parameters:
      theory - a dung theory
      Returns:
      the unattacked sets