class ArgumentCompletion extends DelpArgument
Modifier and Type | Field and Description |
---|---|
private java.util.Set<StrictRule> |
completion
The completion of the argument, i.e., the set of strict rules used in the derivation
of the conclusion of the argument.
|
Modifier | Constructor and Description |
---|---|
private |
ArgumentCompletion(DelpArgument argument)
Constructor; initializes this argument completion with the given DeLP argument.
|
Modifier and Type | Method and Description |
---|---|
private void |
addStrictRule(StrictRule srule)
add a strict rule to this argument completion
|
static java.util.Set<ArgumentCompletion> |
getCompletions(DelpArgument argument,
DefeasibleLogicProgram delp)
This static method computes all argument completions for the given parameter
|
java.util.Set<DelpRule> |
getRulesWithHead(FolFormula l)
Returns all defeasible rules of the support of this argument with the given literal as head
|
java.lang.String |
toString() |
equals, getAttackOpportunities, getConclusion, getDisagreementSubargument, getSignature, getSupport, hashCode, isStrongSubargumentOf, isSubargumentOf
private java.util.Set<StrictRule> completion
private ArgumentCompletion(DelpArgument argument)
argument
- the argument for this completionpublic static java.util.Set<ArgumentCompletion> getCompletions(DelpArgument argument, DefeasibleLogicProgram delp)
argument
- a DeLP argumentdelp
- a defeasible logic programpublic java.util.Set<DelpRule> getRulesWithHead(FolFormula l)
DelpArgument
getRulesWithHead
in class DelpArgument
l
- a literalpublic java.lang.String toString()
toString
in class DelpArgument
private void addStrictRule(StrictRule srule)
srule
- a strict rule