Changeset 14262 for branches/thasling
- Timestamp:
- 08/20/16 12:02:55 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/WcfPeerListManager.cs
r14261 r14262 50 50 private List<PeerInfo> ChoosePeersForMessaging(List<PeerInfo> allPeers) { 51 51 Shuffle<PeerInfo>(allPeers); 52 int toTake = Convert.ToInt32(allPeers.Count * communicationRate) + 1;52 int toTake = Convert.ToInt32(allPeers.Count * communicationRate); 53 53 if (allPeers.Count > 0 && toTake == 0) { 54 54 toTake = 1;
Note: See TracChangeset
for help on using the changeset viewer.