Package net.sf.tweety.arg.adf.syntax
Class Argument
- java.lang.Object
-
- net.sf.tweety.arg.adf.syntax.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
-
-
Method Summary
Modifier and Type Method Description Stream<Argument>arguments()Recursively computes all of the arguments occuring in this acceptance condition.StringgetName()net.sf.tweety.commons.SignaturegetSignature()net.sf.tweety.logics.pl.syntax.PlFormulatoPlFormula(Function<Argument,net.sf.tweety.logics.pl.syntax.PlFormula> argumentMap)StringtoString()
-
-
-
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:AcceptanceConditionRecursively computes all of the arguments occuring in this acceptance condition.- Specified by:
argumentsin interfaceAcceptanceCondition- Returns:
- the union of the arguments of this acceptance condition and its sub-conditions.
-
toPlFormula
public net.sf.tweety.logics.pl.syntax.PlFormula toPlFormula(Function<Argument,net.sf.tweety.logics.pl.syntax.PlFormula> argumentMap)
- Specified by:
toPlFormulain interfaceAcceptanceCondition
-
getSignature
public net.sf.tweety.commons.Signature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula
-
getName
public String getName()
-
-