Class LiteralReasoner

    • Constructor Detail

      • LiteralReasoner

        public LiteralReasoner​(AttackStrategy attack,
                               AttackStrategy defence)
        Creates a new reasoner for reasoning about literals in an extended logic program given by the beliefBase. The argumentation framework is parameterised by two notions of attack. See the original ArgumentationReasoner for details.
        Parameters:
        attack - some attack strategy
        defence - some attack strategy
    • Method Detail

      • isOverruled

        public boolean isOverruled​(ArgumentationKnowledgeBase kb,
                                   ASPLiteral arg)
        A literal is called x/y-overruled, iff it is not x/y-justified.
        Parameters:
        kb - a knowledge base
        arg - a literal
        Returns:
        true iff arg is not x/y-overruled
      • isJustified

        public boolean isJustified​(ArgumentationKnowledgeBase kb,
                                   ASPLiteral arg)
        A literal is called x/y-justified, if a x/y-justified argument with conclusion arg can be constructed from p.
        Parameters:
        kb - a knowledge base
        arg - a literal
        Returns:
        true iff a x/y-justified argument with conclusion arg can be constructed from p