Skip to content

Commit f66227a

Browse files
changed splitting of work between supersteps
1 parent 3afca84 commit f66227a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/osp/bsp/scheduler/GreedySchedulers/GrowLocalMaxBsp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<GraphT>::m
7171
typename std::deque<VertexType>::difference_type lengthNext
7272
= std::distance(nextSuperstepReady.cbegin(), nextSuperstepReady.cend());
7373

74-
typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 2) / 3) * 2;
74+
typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 1) / 2);
7575

7676
return ans;
7777
}

0 commit comments

Comments
 (0)