-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Can you add the index value as a parameter to the seed function:
// seed the population for (i=0;i<this.configuration.size;++i) { this.entities.push(Clone(this.seed(**i**))); }
That way I can make the seed function look like this:
`var pop = // data read from file and then parsed into array
genetic.seed = function(index) {
return pop[index];
};`
That way, after it finished, I can save the population to a file, and then load it later, and load the existing population into the genetic library.
Metadata
Metadata
Assignees
Labels
No labels