Class RdlParser


  • public class RdlParser
    extends net.sf.tweety.commons.Parser<DefaultTheory,​net.sf.tweety.commons.Formula>
    This class implements a parser for default logic.
    Author:
    Nils Geilen
    • Constructor Detail

      • RdlParser

        public RdlParser()
    • Method Detail

      • parseBeliefBase

        public DefaultTheory parseBeliefBase​(Reader reader)
                                      throws IOException,
                                             net.sf.tweety.commons.ParserException
        Specified by:
        parseBeliefBase in class net.sf.tweety.commons.Parser<DefaultTheory,​net.sf.tweety.commons.Formula>
        Throws:
        IOException
        net.sf.tweety.commons.ParserException
      • parseFormula

        public net.sf.tweety.commons.Formula parseFormula​(Reader reader)
                                                   throws IOException,
                                                          net.sf.tweety.commons.ParserException
        Specified by:
        parseFormula in class net.sf.tweety.commons.Parser<DefaultTheory,​net.sf.tweety.commons.Formula>
        Throws:
        IOException
        net.sf.tweety.commons.ParserException