Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion analytical_engine/apps/property/wcc_property.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class WCCProperty : public PropertyAppBase<FRAG_T, WCCPropertyContext<FRAG_T>> {
}
}

HandleMessageForceContinue(frag, ctx, messages);
ctx.curr_modified.swap(ctx.next_modified);
}

Expand Down Expand Up @@ -205,6 +206,14 @@ class WCCProperty : public PropertyAppBase<FRAG_T, WCCPropertyContext<FRAG_T>> {
}
}
}

HandleMessageForceContinue(frag, ctx, messages);
ctx.curr_modified.swap(ctx.next_modified);
}

void HandleMessageForceContinue(const fragment_t& frag, context_t& ctx,
message_manager_t& messages) {
label_id_t v_label_num = frag.vertex_label_num();
for (label_id_t i = 0; i < v_label_num; ++i) {
auto iv = frag.InnerVertices(i);
bool ok = false;
Expand All @@ -219,7 +228,6 @@ class WCCProperty : public PropertyAppBase<FRAG_T, WCCPropertyContext<FRAG_T>> {
break;
}
}
ctx.curr_modified.swap(ctx.next_modified);
}
};

Expand Down
Loading