Class AspicArgumentationTheory<T extends Invertable>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<T>
org.tweetyproject.commons.util.rules.RuleSet<InferenceRule<T>>
org.tweetyproject.arg.aspic.syntax.AspicArgumentationTheory<T>
- Type Parameters:
T
- is the type of the language that the ASPIC theory's rules range over
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<InferenceRule<T>>
,Collection<InferenceRule<T>>
,Set<InferenceRule<T>>
,BeliefBase
public class AspicArgumentationTheory<T extends Invertable>
extends RuleSet<InferenceRule<T>>
implements BeliefBase
- Author:
- Nils Geilen, Matthias Thimm According to Modgil and Prakken (http://www.cs.uu.nl/groups/IS/archive/henry/ASPICtutorial.pdf) this represents an argumentation theory (AS, KB) with - AS argumentation system (e.g. inference rules) - KB knowledge base and/or a corresponding structured argumentation framework (A,C,<=) with - A set of arguments - C set of attacks - <= order on the arguments and/or a corresponding abstract argumentation framework (A, D) with - A set of arguments - D defeat relationship
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ASPIC argumentation theory -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an additional axiom, i.e.void
addOrdinaryPremise
(T prem) Adds an additional ordinary, i.e.void
addRule
(InferenceRule<T> rule) Adds an additional inference ruleThis method transfers this Aspic+ theory into a Dung style argumentation systemasDungTheory
(boolean simplifyArgumentStructure) This method transfers this Aspic+ theory into a Dung style argumentation systemExpands this systems's inference rules into a tree argumentsReturns the signature of the language of this knowledge base.getOrder()
Returns the generator to transform rules into words of the language they range overvoid
setOrder
(Comparator<AspicArgument<T>> order) Sets a new order over the argumentsvoid
Set a new generator to transform rules into words of the language they range overtoString()
Methods inherited from class org.tweetyproject.commons.util.rules.RuleSet
getConclusions, getPremises, getRulesWithConclusion, getSyntacticModule
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
AspicArgumentationTheory
Constructs a new ASPIC argumentation theory- Parameters:
rfgen
- function to map defeasible rules to labels
-
-
Method Details
-
setRuleFormulaGenerator
Set a new generator to transform rules into words of the language they range over- Parameters:
rfg
- is the new formula generator
-
getRuleFormulaGenerator
Returns the generator to transform rules into words of the language they range over- Returns:
- the formula generator
-
addRule
Adds an additional inference rule- Parameters:
rule
- the rule to be added
-
addAxiom
Adds an additional axiom, i.e. a strict rule without premise- Parameters:
axiom
- the axiom's conclusion
-
addOrdinaryPremise
Adds an additional ordinary, i.e. a defeasible inference rule without premise- Parameters:
prem
- the premise's conclusion
-
asDungTheory
This method transfers this Aspic+ theory into a Dung style argumentation system- Returns:
- a dung theory constructed out of this system's arguments and their defeat relation according to order
-
asDungTheory
This method transfers this Aspic+ theory into a Dung style argumentation system- Parameters:
simplifyArgumentStructure
- whether the argument class should be simplified; if "false" thenAspicArgument
is used as the argument class. If "true" then arguments are simplified by assigning names to each argument (the structure of the arguments is therefore lost).- Returns:
- a dung theory constructed out of this system's arguments and their defeat relation according to order
-
groundFolRules
-
getArguments
Expands this systems's inference rules into a tree arguments- Returns:
- the arguments constructed from this systems's inference rules
-
setOrder
Sets a new order over the arguments- Parameters:
order
- the new order
-
getOrder
- Returns:
- the order over the systems's arguments
-
toString
- Specified by:
toString
in interfaceBeliefBase
- Overrides:
toString
in classAbstractCollection<InferenceRule<T extends Invertable>>
-
getMinimalSignature
Description copied from interface:BeliefBase
Returns the signature of the language of this knowledge base.- Specified by:
getMinimalSignature
in interfaceBeliefBase
- Returns:
- the signature of the language of this knowledge base.
-