Re: [wsjt-devel] Hopping randomness

2015-06-15 Thread Bill Somerville
On 14/06/2015 12:55, Michael Black wrote: Hi Mike, > Yeah...I had a "duh" moment this morning when I woke up...wrote that thing > last night when I was tired. > I didn't had forgotten about the random_shuffle function...thanks for the > reminder. > That makes the function look like this then: > >

Re: [wsjt-devel] Hopping randomness

2015-06-14 Thread Michael Black
Yeah...I had a "duh" moment this morning when I woke up...wrote that thing last night when I was tired. I didn't had forgotten about the random_shuffle function...thanks for the reminder. That makes the function look like this then: auto next_band(int num_bands, bool reset) { static int sa

Re: [wsjt-devel] Hopping randomness

2015-06-14 Thread Bill Somerville
On 14/06/2015 04:55, Michael Black wrote: Hi Mike, > Would it be good/better if the next hop choice was random order amongst your > bands instead of just a continuously random band? Probably although that is not random since the probability of a band being chosen increases with time since it was

[wsjt-devel] Hopping randomness

2015-06-13 Thread Michael Black
Would it be good/better if the next hop choice was random order amongst your bands instead of just a continuously random band? This way you'd be guaranteed to visit each band in an N-transmit * N-bands period instead of Las Vegas odds where you can get bad runs and never touch a band for quite a wh