[TASK] Add rough reasoning debugging window.

This commit is contained in:
JPT
2016-10-07 14:14:40 +02:00
parent eec451fe8e
commit 5ea6bb38b9
3 changed files with 398 additions and 0 deletions
@@ -15,6 +15,7 @@ import eu.larkc.csparql.core.engine.CsparqlEngineImpl;
import eu.larkc.csparql.core.engine.CsparqlQueryResultProxy;
import eu.larkc.csparql.core.engine.RDFStreamFormatter;
import lu.jpt.csparqlproject.gui.FancyTextObserverWindow;
import lu.jpt.csparqlproject.misc.ReasoningTester;
import lu.jpt.csparqlproject.rentacar.RentACarSimulation;
import lu.jpt.csparqlproject.util.CsparqlQueryHelper;
import lu.jpt.csparqlproject.util.CsparqlQueryHelper.CsparqlQueryInfo;
@@ -145,6 +146,8 @@ public class SimulationContext {
+ "{ GRAPH <http://streamreasoning.org/roomConnection> { :room :isConnectedTo :room2 } }";
this.engine.execUpdateQueryOverDatasource(updateQuery);
*/
// DEBUGGING ONLY
ReasoningTester rt = new ReasoningTester(this.engine);
// Spawn the whole simulation - this takes care of simulation-specific things
simulation = new RentACarSimulation();
// Register all the event streams