Skip to content

Commit 780fcb9

Browse files
changed splitting of work between supersteps (#82)
1 parent 19ed9f1 commit 780fcb9

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 @@ inline typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<Gra
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)