The Genetic Algorithm's Sorting Algorithm Package This package includes the sorting algorithms that can be used by the selection algorithms to presort the individuals and/or compute statistics before selection is done.

Package Specification

This package includes the sorting algorithms that can be used by the selection algorithms to presort the individuals and/or compute statistics before selection is done. Currently, we support three sorting algorithms:
Comparator-based Sorting
The normal sorting, using the individual comparator provided.
Domination Fitness Sorting
Scalar fitness are assigned to individuals inversely proportional to the count of individuals they are dominated by (additionally a value proportional to the count of individuals they dominate can be included).
Scalar Sorting
The fitness comparators ability to compute scalar differences is used to assign scalar fitnesses to individuals.