We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afca84 commit f66227aCopy full SHA for f66227a
1 file changed
include/osp/bsp/scheduler/GreedySchedulers/GrowLocalMaxBsp.hpp
@@ -71,7 +71,7 @@ typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<GraphT>::m
71
typename std::deque<VertexType>::difference_type lengthNext
72
= std::distance(nextSuperstepReady.cbegin(), nextSuperstepReady.cend());
73
74
- typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 2) / 3) * 2;
+ typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 1) / 2);
75
76
return ans;
77
}
0 commit comments