@@ -115,11 +115,11 @@ class LouvainAppBase
115
115
{
116
116
// Sync Aggregator
117
117
ctx.compute_context ().aggregate (change_aggregator,
118
- ctx.GetLocalChangeSum ());
118
+ ctx.GetLocalChangeSum ());
119
119
ctx.compute_context ().aggregate (edge_weight_aggregator,
120
- ctx.GetLocalEdgeWeightSum ());
120
+ ctx.GetLocalEdgeWeightSum ());
121
121
ctx.compute_context ().aggregate (actual_quality_aggregator,
122
- ctx.GetLocalQualitySum ());
122
+ ctx.GetLocalQualitySum ());
123
123
for (auto & pair : ctx.compute_context ().aggregators ()) {
124
124
grape::InArchive iarc;
125
125
std::vector<grape::InArchive> oarcs;
@@ -202,8 +202,8 @@ class LouvainAppBase
202
202
ctx.compute_context ().template get_aggregated_value <int64_t >(
203
203
change_aggregator);
204
204
ctx.change_history ().push_back (totalChange);
205
- bool to_halt = decide_to_halt (
206
- ctx. change_history (), ctx. tolerance (), ctx.min_progress ());
205
+ bool to_halt = decide_to_halt (ctx. change_history (), ctx. tolerance (),
206
+ ctx.min_progress ());
207
207
ctx.set_halt (to_halt);
208
208
if (ctx.halt ()) {
209
209
LOG (INFO) << " super step " << current_super_step << " decided to halt." ;
@@ -296,7 +296,7 @@ class LouvainAppBase
296
296
private:
297
297
// sync community id from community hub to community members.
298
298
void syncCommunity (const fragment_t & frag, context_t & ctx,
299
- message_manager_t & messages) {
299
+ message_manager_t & messages) {
300
300
auto & vid_parser = ctx.compute_context ().vid_parser ();
301
301
auto & comm_result = ctx.compute_context ().vertex_data ();
302
302
auto inner_vertices = frag.InnerVertices ();
0 commit comments