Class SimplePlLogicArgument
java.lang.Object
org.tweetyproject.arg.dung.syntax.Argument
org.tweetyproject.arg.deductive.syntax.SimplePlLogicArgument
- All Implemented Interfaces:
Comparable<Argument>,DungEntity,Formula,Node
Represents a simple propositional logic argument in deductive argumentation.
The argument consists of a set of supporting rules and a claim, which is a
propositional logic formula (PlFormula). This class follows the structure
defined in the paper "A Comparison of Formal Argumentation Systems" by Hunter and
Caminada (2013).
This class extends
Argument and stores a set of supporting rules
and a single claim derived from the support.- Author:
- Federico Cerutti (federico.cerutti(at)acm.org)
-
Constructor Summary
ConstructorsConstructorDescriptionSimplePlLogicArgument(Collection<SimplePlRule> _support, PlFormula _claim) Constructs a simple propositional logic argument with the given support and claim.SimplePlLogicArgument(Derivation<SimplePlRule> derivation) Constructs a simple propositional logic argument from a derivation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks for equality between this argument and another object.getClaim()Returns the claim of this argument, which is a propositional logic formula.Collection<? extends SimplePlRule> Returns the support of this argument, i.e., the set of rules that provide the basis for the claim.inthashCode()Computes the hash code for this argument based on the support.toString()Returns a string representationMethods inherited from class org.tweetyproject.arg.dung.syntax.Argument
compareTo, getLdoArgument, getLdoFormula, getName, getSignature, setName
-
Constructor Details
-
SimplePlLogicArgument
Constructs a simple propositional logic argument with the given support and claim.- Parameters:
_support- The collection of supporting rules for this argument._claim- The propositional logic formula representing the claim.
-
SimplePlLogicArgument
Constructs a simple propositional logic argument from a derivation. The derivation consists of a set of rules (support) and a conclusion (claim).- Parameters:
derivation- The derivation from which the argument is created.
-
-
Method Details
-
getSupport
Returns the support of this argument, i.e., the set of rules that provide the basis for the claim.- Returns:
- The collection of supporting rules.
-
getClaim
Returns the claim of this argument, which is a propositional logic formula.- Returns:
- The propositional logic formula representing the claim.
-
toString
-
hashCode
-
equals
Checks for equality between this argument and another object. Two arguments are considered equal if their claims are equal and their support sets are equal.
-