private void createAdvancedParametersFor(ImportPopulation importPopulation) { foreach (var parameterPath in importPopulation.IndividualPropertiesCache.AllParameterPaths()) { if (_allCreateIndividualParameters.Contains(parameterPath)) { continue; } var advancedParameter = _advancedParameterFactory.Create(_allParameters[parameterPath], DistributionTypes.Unknown); //do not generate random values as these were loaded from files importPopulation.AddAdvancedParameter(advancedParameter, generateRandomValues: false); } }
private void mergeImportedIndividualsInPopulation(ImportPopulation importPopulation, IndividualPropertiesCache individualValues) { importPopulation.IndividualPropertiesCache.Merge(individualValues, _allParameters); }