From 0c39145b3b76b3db73db0a38d5324caa7ff3c434 Mon Sep 17 00:00:00 2001 From: RncLsn Date: Mon, 3 Aug 2015 17:07:39 +0100 Subject: The LimitedSkolemisation now employs a fixed-depth term instead of a constant. Performed some testing before merging with master. --- test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java | 3 ++- test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test/uk/ac/ox/cs') diff --git a/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java b/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java index eec1e8f..a4579a3 100644 --- a/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java +++ b/test/uk/ac/ox/cs/pagoda/endomorph/DependencyGraphTest.java @@ -2,6 +2,7 @@ package uk.ac.ox.cs.pagoda.endomorph; import org.semanticweb.owlapi.apibinding.OWLManager; import org.semanticweb.owlapi.model.*; +import org.testng.Assert; import org.testng.annotations.Test; import uk.ac.ox.cs.JRDFox.model.GroundTerm; import uk.ac.ox.cs.JRDFox.model.Individual; @@ -54,6 +55,6 @@ public class DependencyGraphTest { dependencyGraph.build(tuples); - System.out.println(dependencyGraph.getTopologicalOrder()); + Assert.assertTrue(dependencyGraph.getTopologicalOrder().size() >= 2); } } diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java index a7a562d..42f0ac1 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaFLY.java @@ -62,7 +62,7 @@ public class TestPagodaFLY { // .answer(Paths.get("/home/alessandro/Desktop/answers.json")) .classify(false) .hermit(true) - .skolem(PagodaProperties.SkolemUpperBoundOptions.AFTER_SUMMARISATION) + .skolem(PagodaProperties.SkolemUpperBoundOptions.BEFORE_SUMMARISATION) .build() .run(); } -- cgit v1.2.3