Lines Matching refs:n
193 var n = 0;
207 n = Math.floor(Math.random() * 4); // how many to delete? at least 1 should remain
208 n = Math.min(n, Math.max(0, numberA - 2));
209 console.log(counter + " - removing " + n + " children from parent A");
210 for (var i = 0; i < n; i++)
222 n = Math.floor(Math.random() * 4); // how many to delete? at least 1 should remain
223 n = Math.min(n, Math.max(0, numberB - 2));
224 console.log(counter + " - removing " + n + " children from parent B");
225 for (var i = 0; i < n; i++)
243 n = Math.floor(Math.random() * 4); // how many to insert?
244 console.log(counter + " - inserting " + n + " children into parent A");
245 for (var i = 0; i < n; i++)
261 n = Math.floor(Math.random() * 4); // how many to insert?
262 console.log(counter + " - inserting " + n + " children into parent B");
263 for (var i = 0; i < n; i++)
285 n = Math.floor(Math.random() * numberA); // how many to shuffle?
286 console.log(counter + " - moving " + n + " children inside parent A");
287 for (var i = 0; i < n; i++)
301 n = Math.floor(Math.random() * numberB); // how many to shuffle?
302 console.log(counter + " - moving " + n + " children inside parent B");
303 for (var i = 0; i < n; i++)