Package org.tweetyproject.arg.adf.syntax
Class Argument
java.lang.Object
org.tweetyproject.arg.adf.syntax.Argument
- All Implemented Interfaces:
- AcceptanceCondition
An immutable representation of an ADF argument
 
 This argument can also be used as an AcceptanceCondition, since it is
 its atomic building block.
- Author:
- Mathias Hofer
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceConditionAcceptanceCondition.Builder
- 
Field SummaryFields inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceConditionCONTRADICTION, TAUTOLOGY
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Argumentpublic Argument()Argument
- 
Argument- Parameters:
- name- the name of the argument
 
 
- 
- 
Method Details- 
arguments- Specified by:
- argumentsin interface- AcceptanceCondition
- Returns:
- recursively computes all the arguments of this acceptance condition
 
- 
getName- Returns:
- the name
 
- 
containsDescription copied from interface:AcceptanceConditionChecks if the given argument is contained in this acceptance condition.Note that this relation is reflexive, hence each argument contains itself. - Specified by:
- containsin interface- AcceptanceCondition
- Parameters:
- arg- some argument
- Returns:
- true if the argument is contained
 
- 
getChildren- Specified by:
- getChildrenin interface- AcceptanceCondition
- Returns:
- an unmodifiable set of children
 
- 
acceptDescription copied from interface:AcceptanceConditionPasses the topDownData to the right visit method and returns the result of the visit method, performs no modifications on them.This allows for type-safe traversal through the acceptance condition structure. - Specified by:
- acceptin interface- AcceptanceCondition
- Type Parameters:
- U- the bottom-up data
- D- the top-down data
- Parameters:
- visitor- the visitor
- topDownData- the data which is passed from the root of the acceptance condition to the leaf
- Returns:
- the result of the visit method
 
- 
toString
 
-