Class Argument
- java.lang.Object
-
- org.tweetyproject.arg.dung.syntax.Argument
-
- All Implemented Interfaces:
DungEntity,Formula,Node
- Direct Known Subclasses:
ArgumentStructure,AspicArgument,BArgument,BasicArgument,Deduction,SimplePlLogicArgument
public class Argument extends java.lang.Object implements DungEntity, Node
This class models an argument used by Dung's abstract argumentation theory and is just described by its name.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description Argument(java.lang.String name)Default constructor that assigns the givennameto this argument
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)LdoArgumentgetLdoArgument()LdoFormulagetLdoFormula()Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.java.lang.StringgetName()returns the name of the argumentSignaturegetSignature()Returns the signature of the language of this formula.inthashCode()voidsetName(java.lang.String name)sets the name of the argumentjava.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
returns the name of the argument- Returns:
- the name of the argument
-
setName
public void setName(java.lang.String name)
sets the name of the argument- Parameters:
name- the name of the argument
-
getSignature
public Signature getSignature()
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getLdoFormula
public LdoFormula getLdoFormula()
Description copied from interface:DungEntityReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormulain interfaceDungEntity- Returns:
- the logical formula of this entity.
-
getLdoArgument
public LdoArgument getLdoArgument()
-
-