public static EngineParam load(final Preferences prefs) {
		return of(
			prefs.getInt(POPULATION_SIZE_KEY, DEFAULT._populationSize),
			prefs.getInt(TOURNAMENT_SIZE_KEY, DEFAULT._tournamentSize),
			prefs.getFloat(MUTATION_RATE_KEY, DEFAULT._mutationRate),
			prefs.getFloat(MUTATION_MULTITUDE_KEY, DEFAULT._mutationMultitude),
			prefs.getInt(POLYGON_LENGTH_KEY, DEFAULT._polygonLength),
			prefs.getInt(POLYGON_COUNT_KEY, DEFAULT._polygonCount),
			new Dimension(
				prefs.getInt(REFERENCE_IMAGE_WIDTH_KEY, DEFAULT._referenceImageSize.width),
				prefs.getInt(REFERENCE_IMAGE_HEIGHT_KEY, DEFAULT._referenceImageSize.height)
			)
		);
	}
Collects the configurable GA engine parameters.
jenetics.example/src/main/java/io/jenetics/example/image/EngineParam.java