Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
the fitness function takes the chromosome in as a string parameter not an array. if you have an array of 50 strings and you wanted to find the fitness of one, you'd do the following. fitness( chromosomes[index]).
ok, i know what i did wrong. i was rewriting the coefficient of the object after exponential product and returning it instead of returning a new object. subsequent calls were made to that original object with the modified coefficients. all fixed. good kata.
This comment is hidden because it contains spoiler information about the solution
vms is an object. "i" is a key in the object.
you can access the key via vms[i].vend() but you can't use a "foreach" on it because it's not an array. you'd have to use a different looping algorithm
i keep getting server timeouts with my solution. Now obviously this could be that my implementation is not optimized, however, there are times where it passes certain tests one time and doesn't pass it other times. If I increase my population over 100 and my iterations are over 100 I'd imagine I'd pass the tests more frequently but due to the timeout issue, I can't test this.
This comment is hidden because it contains spoiler information about the solution