/*
 * Java Genetic Algorithm Library (@__identifier__@).
 * Copyright (c) @__year__@ Franz Wilhelmstötter
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Author:
 *    Franz Wilhelmstötter (franz.wilhelmstoetter@gmail.com)
 */
package io.jenetics.ext;

/**
 * @author <a href="mailto:franz.wilhelmstoetter@gmail.com">Franz Wilhelmstötter</a>
 * @version !__version__!
 * @since !__version__!
 */
public class ParetoSet {
}

@@ -767,174 +767,770 @@
 t;%0A%0A
-/**%0A * @author %3Ca href=%22mailto:franz.wilhelmstoetter@gmail.com%22%3EFranz Wilhelmst%C3%B6tter%3C/a%3E%0A * @version !__version__!%0A * @since !__version__!%0A */%0Apublic class ParetoSet %7B
+import java.util.Comparator;%0Aimport java.util.function.Function;%0Aimport java.util.stream.Collector;%0A%0Aimport io.jenetics.Gene;%0Aimport io.jenetics.Genotype;%0Aimport io.jenetics.engine.EvolutionResult;%0Aimport io.jenetics.util.ISeq;%0A%0Aimport io.jenetics.ext.util.ParetoFront;%0A%0A/**%0A * @author %3Ca href=%22mailto:franz.wilhelmstoetter@gmail.com%22%3EFranz Wilhelmst%C3%B6tter%3C/a%3E%0A * @version !__version__!%0A * @since !__version__!%0A */%0Apublic class ParetoSet %7B%0A%0A%09public static%3CG extends Gene%3C?, G%3E, C extends Comparable%3C? super C%3E%3E%0A%09Collector%3CEvolutionResult%3CG, C%3E, ?, ISeq%3CGenotype%3CG%3E%3E%3E%0A%09toParetoSet(final Comparator%3C? super C%3E dominance) %7B%0A%09%09return Collector.of(%0A%09%09%09() -%3E new ParetoFront%3C%3E(dominance),%0A%09%09%09(set, result) -%3E set.add(mapper.apply(result)),%0A%09%09%09ParetoFront::merge%0A%09%09);%0A%09%7D%0A
 %0A%7D%0A

Add 'ParetoSet' class.