Package org.tweetyproject.arg.saf.syntax
Class BasicArgument
- java.lang.Object
- 
- org.tweetyproject.arg.dung.syntax.Argument
- 
- org.tweetyproject.arg.saf.syntax.BasicArgument
 
 
- 
- All Implemented Interfaces:
- DungEntity,- Formula,- Rule<Proposition,Proposition>,- Node
 
 public class BasicArgument extends Argument implements Rule<Proposition,Proposition> This class models a basic argument in structured argumentation frameworks, i.e. a claim (a proposition) together with a support (a set of propositions) where the claim is not in the support.- Author:
- Matthias Thimm, Tim Janus
 
- 
- 
Constructor SummaryConstructors Constructor Description BasicArgument(java.lang.String name)Deprecated.BasicArgument(Proposition claim)Creates a new basic argument with the given claim and empty support.BasicArgument(Proposition claim, java.util.Set<Proposition> support)Creates a new basic argument with the given claim and the given support.
 - 
Method SummaryModifier and Type Method Description voidaddPremise(Proposition premise)Add the given premise to this rule.voidaddPremises(java.util.Collection<? extends Proposition> premises)Add the given premises to this rule.PropositiongetConclusion()Returns the conclusion of this rule.java.util.Set<Proposition>getPremise()Returns the premise of this rule.PlSignaturegetSignature()Returns the signature of the language of this formula.booleanisConstraint()booleanisFact()voidsetConclusion(Proposition conclusion)Set the conclusion of this rule.- 
Methods inherited from class org.tweetyproject.arg.dung.syntax.Argumentequals, getLdoArgument, getLdoFormula, getName, hashCode, setName, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
BasicArgument@Deprecated public BasicArgument(java.lang.String name) Deprecated.Deprecated for basic arguments.- Parameters:
- name- the name of the argument
 
 - 
BasicArgumentpublic BasicArgument(Proposition claim) Creates a new basic argument with the given claim and empty support.- Parameters:
- claim- a proposition.
 
 - 
BasicArgumentpublic BasicArgument(Proposition claim, java.util.Set<Proposition> support) Creates a new basic argument with the given claim and the given support.- Parameters:
- claim- a proposition
- support- a set of propositions
 
 
- 
 - 
Method Detail- 
getConclusionpublic Proposition getConclusion() Description copied from interface:RuleReturns the conclusion of this rule.- Specified by:
- getConclusionin interface- Rule<Proposition,Proposition>
- Returns:
- the conclusion of this rule.
 
 - 
getPremisepublic java.util.Set<Proposition> getPremise() Description copied from interface:RuleReturns the premise of this rule.- Specified by:
- getPremisein interface- Rule<Proposition,Proposition>
- Returns:
- the premise of this rule.
 
 - 
getSignaturepublic PlSignature getSignature() Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
- getSignaturein interface- Formula
- Specified by:
- getSignaturein interface- Rule<Proposition,Proposition>
- Overrides:
- getSignaturein class- Argument
- Returns:
- the signature of the language of this formula.
 
 - 
isFactpublic boolean isFact() - Specified by:
- isFactin interface- Rule<Proposition,Proposition>
 
 - 
isConstraintpublic boolean isConstraint() - Specified by:
- isConstraintin interface- Rule<Proposition,Proposition>
 
 - 
setConclusionpublic void setConclusion(Proposition conclusion) Description copied from interface:RuleSet the conclusion of this rule.- Specified by:
- setConclusionin interface- Rule<Proposition,Proposition>
- Parameters:
- conclusion- some formula
 
 - 
addPremisepublic void addPremise(Proposition premise) Description copied from interface:RuleAdd the given premise to this rule.- Specified by:
- addPremisein interface- Rule<Proposition,Proposition>
- Parameters:
- premise- some formula
 
 - 
addPremisespublic void addPremises(java.util.Collection<? extends Proposition> premises) Description copied from interface:RuleAdd the given premises to this rule.- Specified by:
- addPremisesin interface- Rule<Proposition,Proposition>
- Parameters:
- premises- some formulas
 
 
- 
 
-