Class ReasonerBenchmark


  • public class ReasonerBenchmark
    extends java.lang.Object
    • Constructor Detail

      • ReasonerBenchmark

        public ReasonerBenchmark()
    • Method Detail

      • testAllInDirectoryAsync

        public void testAllInDirectoryAsync​(AbstractDialecticalFrameworkReasoner reasoner,
                                            java.lang.String semantics,
                                            java.io.File dir,
                                            java.util.concurrent.ExecutorService executor)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testAllInDirectory

        public void testAllInDirectory​(AbstractDialecticalFrameworkReasoner reasoner,
                                       java.lang.String semantics,
                                       java.io.File dir,
                                       java.util.concurrent.ExecutorService executor)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • testSingleAsync

        public void testSingleAsync​(AbstractDialecticalFrameworkReasoner reasoner,
                                    java.lang.String semantics,
                                    java.io.File f,
                                    java.util.concurrent.ExecutorService executor)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • handleException

        public BenchmarkResult handleException​(java.lang.Throwable th)
      • printResults

        public void printResults​(java.io.File file,
                                 BenchmarkResult result,
                                 java.io.PrintStream out)
      • toMap

        private java.util.Map<java.lang.String,​java.lang.Boolean> toMap​(Interpretation interpretation)
      • testAdmissibleInterpretationSemantics

        public void testAdmissibleInterpretationSemantics()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testNaiveInterpretationSemantics

        public void testNaiveInterpretationSemantics()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testPreferredInterpretationSemantics

        public void testPreferredInterpretationSemantics()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testCompleteInterpretationSemantics

        public void testCompleteInterpretationSemantics()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testGroundInterpretationSemantics

        public void testGroundInterpretationSemantics()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testModelSemantics

        public void testModelSemantics()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • testStableModelSemantics

        public void testStableModelSemantics()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.FileNotFoundException,
                                ParserException,
                                java.io.IOException
        Throws:
        java.io.FileNotFoundException
        ParserException
        java.io.IOException