Class 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 Summary

      Modifier and Type Method Description
      Program process​(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)
      The method takes the list of ordered programs and the answer set of the credibility logic program and calculates a revided program
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultBehavior

        public 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 interface CredibilityRevision.AnswersetProcessing
        Parameters:
        orderedPrograms - List of programs used for revision process
        answersets - The answer sets processed by the credibility version of the program
        Returns:
        The revided program