rohams / capstone

Capstone project
0 stars 0 forks source link

rand_stores() #4

Closed rohams closed 10 years ago

rohams commented 10 years ago

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

shzq commented 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.

shzq commented 10 years ago

I have committed the rand_stores() function in grouping.js

shzq commented 10 years ago

I think this function has been modified

rohams commented 10 years ago

Just the name has changed to rand_routes()