Commit 5e2049a2 authored by Nicolas Seydoux's avatar Nicolas Seydoux
Browse files

Fixed interest propagation bug in centralized case

parent 89eda403
PREFIX edr: <http://w3id.org/laas-iot/edr#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX lmu: <http://w3id.org/laas-iot/lmu#>
SELECT ?interest
WHERE {
?node edr:isInterestedIn ?interest.
?node edr:isInterestedIn ?interest;
a lmu:HostNode.
}
......@@ -288,7 +288,7 @@ public class RuleManager {
// transmitted are activated,
// and consumptions are propagated in their stead
LOGGER.debug("Shifting a transfer into an activation of "+ruleURI);
this.shiftTransferIntoInterest(ruleURI);
// this.shiftTransferIntoInterest(ruleURI);
this.markRuleActivable(ruleURI);
// LOGMODEL.debug(MODEL_MARKER, Node.getInstance().getKBManager().serializeModel());
Model reinference = Node.getInstance().getKBManager().executeRules(true, true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment