/// <summary> /// This process takes into account the posibility that the evolution algorithm has not been /// started yet. The user is pre-registered, and the save files are moved to the correct folder, /// so that THE new evolution process will automatically read them. /// </summary> private void PrepareAndRaiseBranch(int?id, Candidate candidate, string userName) { ActiveUsersList <NeatGenome> .AddParentToUserName(userName, id); ActiveUsersList <NeatGenome> .SetUserWaitingForAlgorithm(userName); ActiveUsersList <NeatGenome> .SetUserWaitingForVideos(userName); SharpNeat.PopulationReadWrite.MoveSavedFilesToCandidateFolder(candidate.FolderPath, userName); EventsController.RaiseBranchEvent(userName); }