Class Argument

  • All Implemented Interfaces:
    AcceptanceCondition, net.sf.tweety.commons.Formula, net.sf.tweety.graphs.Node

    public class Argument
    extends Object
    implements AcceptanceCondition, net.sf.tweety.commons.Formula, net.sf.tweety.graphs.Node
    An immutable representation of an ADF argument
    Author:
    Mathias Hofer
    • Constructor Detail

      • Argument

        public Argument​(String name)
        Creates a new argument.
        Parameters:
        name - the name of the argument
    • Method Detail

      • arguments

        public Stream<Argument> arguments()
        Description copied from interface: AcceptanceCondition
        Recursively computes all of the arguments occuring in this acceptance condition.
        Specified by:
        arguments in interface AcceptanceCondition
        Returns:
        the union of the arguments of this acceptance condition and its sub-conditions.
      • getSignature

        public net.sf.tweety.commons.Signature getSignature()
        Specified by:
        getSignature in interface net.sf.tweety.commons.Formula
      • getName

        public String getName()