Closed rohams closed 10 years ago
After the meeting today Roham said I could look into this and decide if I want to work on it.
I'll work on this.
I have committed the rand_stores() function in grouping.js
I think this function has been modified
Just the name has changed to rand_routes()
Here is our basic function 5 which is to some extent similar to rand_breaks().
Function Name: rand_stores() Input: none Output: random array of all the indices in stores array
Description: this function is used to initialize the population
Example:
stores: s1, s2, null, s3, s4, null, s5
because element 2 and 5 are null :
stores indices: 0,1,3,4,6
rand_stores() may return: 3,6,4,0,1