schrum2 / MM-NEATv2

MM-NEAT version 2.0 is no longer supported. Please get MM-NEAT 3+ from https://github.com/schrum2/MM-NEAT
Other
11 stars 5 forks source link

Auto-save selected #430

Closed schrum2 closed 7 years ago

schrum2 commented 7 years ago

For the interactive evolution tasks, we should have a command line option (useful for experiments with human subjects) that automatically saves every item selected by the user when the evolve button is clicked to go to the next generation. This way, we can track the progression of their preferences.

Have a parameter "saveInteractiveSelections". If it is true, then whenever the button is clicked to go to the next generation, save the currently selected items in a subdirectory of the running experiment directory. Call it "selectedFromGenX" with X replaced by the generation number. The files saved should be itemG_X_ID where G is the generation, X is the index of the individual in the population, and ID is the genotype ID of the network that generated it.

With something like this in place, we do not need to ask the users to save files and hope that they don't screw it up (they would).