Class ArgumentationKnowledgeBase

java.lang.Object
org.tweetyproject.commons.BeliefSet<Argument,FolSignature>
org.tweetyproject.arg.lp.syntax.ArgumentationKnowledgeBase
All Implemented Interfaces:
Iterable<Argument>, Collection<Argument>, BeliefBase

public class ArgumentationKnowledgeBase extends BeliefSet<Argument,FolSignature>
Instances of this class represent the set of minimal arguments from a extended logic program
Author:
Sebastian Homann
  • Constructor Details

    • ArgumentationKnowledgeBase

      public ArgumentationKnowledgeBase(Program program)
      Constructs an `ArgumentationKnowledgeBase` object initialized with a given program.
      Parameters:
      program - the `Program` object representing the program to be used for initializing the argumentation knowledge base. The program is cloned internally to avoid modifying the original program.
      Throws:
      IllegalArgumentException - if any rule in the program has an `AggregateHead` as its conclusion.
  • Method Details

    • getArguments

      public Set<Argument> getArguments()
      Returns all minimal arguments constructible from the extended logic program
      Returns:
      all minimal arguments constructible from the extended logic program
    • getMinimalSignature

      public Signature getMinimalSignature()
      Description copied from interface: BeliefBase
      Returns the signature of the language of this knowledge base.
      Returns:
      the signature of the language of this knowledge base.