/** * Switch on/off drivation logging. If this is switched on then every time an inference * is a made that fact is recorded and the resulting record can be access through a later * getDerivation call. This may consume a lot of space! */ @Override public void setDerivationLogging(boolean logOn) { getInfGraph().setDerivationLogging(logOn); }
/** * Switch on/off drivation logging. If this is switched on then every time an inference * is a made that fact is recorded and the resulting record can be access through a later * getDerivation call. This may consume a lot of space! */ @Override public void setDerivationLogging(boolean logOn) { getInfGraph().setDerivationLogging(logOn); }
/** * Switch on/off drivation logging. If this is switched on then every time an inference * is a made that fact is recorded and the resulting record can be access through a later * getDerivation call. This may consume a lot of space! */ @Override public void setDerivationLogging(boolean logOn) { if (getGraph() instanceof InfGraph) { ((InfGraph) getGraph()).setDerivationLogging( logOn ); } }
/** * Switch on/off drivation logging. If this is switched on then every time an inference * is a made that fact is recorded and the resulting record can be access through a later * getDerivation call. This may consume a lot of space! */ @Override public void setDerivationLogging(boolean logOn) { if (getGraph() instanceof InfGraph) { ((InfGraph) getGraph()).setDerivationLogging( logOn ); } }
graph.setDerivationLogging(recordDerivations); graph.rebind(data); return graph;
graph.setDerivationLogging(recordDerivations); graph.rebind(data); return graph;
data.add(new Triple(C1, q, C3)); InfGraph infgraph = makeInfGraph(ruleList, data, new Node[]{p, q}); infgraph.setDerivationLogging(true);
data.add(new Triple(C1, q, C3)); InfGraph infgraph = makeInfGraph(ruleList, data, new Node[]{p, q}); infgraph.setDerivationLogging(true);
infgraph.setDerivationLogging(true); infgraph.add(new Triple(n1, p, n3)); infgraph.add(new Triple(n1, q, n4));
infgraph.setDerivationLogging(true); infgraph.add(new Triple(n1, p, n3)); infgraph.add(new Triple(n1, q, n4));
infgraph.setDerivationLogging(true); TestUtil.assertIteratorValues(this, infgraph.find(null, p, null), new Object[] {
infgraph.setDerivationLogging(true); TestUtil.assertIteratorValues(this, infgraph.find(null, p, null), new Object[] {
graph.setDerivationLogging(recordDerivations); graph.rebind(data); return graph;
graph.setDerivationLogging(recordDerivations); graph.rebind(data); return graph;