mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-09-22 23:18:02 +00:00
bugfix
This commit is contained in:
parent
0a2d9e6d84
commit
3bfb4889f5
@ -67,7 +67,7 @@ public class CausalConceptReasoner implements ConceptReasoner<LogicalCausationSe
|
||||
toPropagated.add(advancedRecord);
|
||||
}
|
||||
|
||||
// 基于toPropagated开始本轮的事件传导
|
||||
// initiating this round of event propagation based on toPropagated.
|
||||
for (BaseAdvancedRecord advancedRecord : toPropagated) {
|
||||
List<BaseSPGRecord> leadToRecords = leadTo(advancedRecord, conceptSemantic);
|
||||
if (CollectionUtils.isEmpty(leadToRecords)) {
|
||||
@ -75,7 +75,7 @@ public class CausalConceptReasoner implements ConceptReasoner<LogicalCausationSe
|
||||
}
|
||||
results.addAll(leadToRecords);
|
||||
|
||||
// 对leadTo出来的数据进行belongTo判断
|
||||
// Determine the belongTo of the events propagated out.
|
||||
for (BaseSPGRecord leadToRecord : leadToRecords) {
|
||||
ConceptList conceptList =
|
||||
ReasonerProcessorUtils.getConceptList(leadToRecord, builderCatalog);
|
||||
|
Loading…
x
Reference in New Issue
Block a user