Class CredibilityRevision.DefaultBehavior
- java.lang.Object
-
- net.sf.tweety.lp.asp.beliefdynamics.revision.CredibilityRevision.DefaultBehavior
-
- All Implemented Interfaces:
CredibilityRevision.AnswersetProcessing
- Enclosing class:
- CredibilityRevision
public static class CredibilityRevision.DefaultBehavior extends java.lang.Object implements CredibilityRevision.AnswersetProcessing
This class implements a default behavior for the processing of the answer sets of the credibility logic programs. Remark: It does not support the generation of two different programs. If two programs are possible the first answer set is used for revision.- Author:
- Tim Janus
-
-
Constructor Summary
Constructors Constructor Description DefaultBehavior()
-
-
-
Method Detail
-
process
public Program process(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)
Description copied from interface:CredibilityRevision.AnswersetProcessing
The method takes the list of ordered programs and the answer set of the credibility logic program and calculates a revided program- Specified by:
process
in interfaceCredibilityRevision.AnswersetProcessing
- Parameters:
orderedPrograms
- List of programs used for revision processanswersets
- The answer sets processed by the credibility version of the program- Returns:
- The revided program
-
-