Class ScepticalLiteralTransformationFunction
java.lang.Object
org.tweetyproject.lp.asp.beliefdynamics.selectiverevision.ScepticalLiteralTransformationFunction
- All Implemented Interfaces:
MultipleTransformationFunction<ASPRule>
public class ScepticalLiteralTransformationFunction
extends Object
implements MultipleTransformationFunction<ASPRule>
This class represents the sceptical transformation function
for literals as introduced in [1].
[1] Homann, Sebastian:
Master thesis: Argumentationsbasierte selektive Revision von erweiterten logischen
Programmen.
- Author:
- Sebastian Homann
-
Constructor Summary
ConstructorDescriptionScepticalLiteralTransformationFunction
(Collection<ASPRule> beliefSet, AttackStrategy attackRelation, AttackStrategy defenseRelation) Creates a new sceptical transformation function for literals. -
Method Summary
Modifier and TypeMethodDescriptiontransform
(Collection<ASPRule> formulas) Transforms the given set of formulas for selective revision."Transforms" the single rule by either accepting or rejecting it.
-
Constructor Details
-
ScepticalLiteralTransformationFunction
public ScepticalLiteralTransformationFunction(Collection<ASPRule> beliefSet, AttackStrategy attackRelation, AttackStrategy defenseRelation) Creates a new sceptical transformation function for literals.- Parameters:
beliefSet
- The belief set used for this transformation function.attackRelation
- the notion of attack used for attacking argumentsdefenseRelation
- the notion of attack used to attack attacking arguments
-
-
Method Details
-
transform
Description copied from interface:MultipleTransformationFunction
Transforms the given set of formulas for selective revision.- Specified by:
transform
in interfaceMultipleTransformationFunction<ASPRule>
- Parameters:
formulas
- a set of formulas.- Returns:
- a set of formulas.
-
transform
"Transforms" the single rule by either accepting or rejecting it.- Parameters:
rule
- a single elp rule- Returns:
- the rule if it is acceptable for the given attack-relations and beliefbase, an empty collection otherwise
-