Kangaroo
Kangaroo copied to clipboard
Tame and Wild Range Question
@JeanLucPons
How would I need to configure the random starting distance, for the herds, if I wanted Tame -N/2..N/2 and Wild 0..2/N ?
Something like this?
if((j + firstType) % 2 == TAME) { // Tame in [-N/2..N/2] d[j].ModSubK1order(&rangeWidthDiv2); } else { // Wild in [0..N/2] d[j].Rand(rangePower - 1); }
Yes something like that. Like this if the keyToseach if greater than N/2, it will be much longer to be solved, depending on how much kangaroo you have.