@syntest/core
Version:
The common core of the SynTest Framework
11 lines • 502 B
TypeScript
import { Encoding } from "../../Encoding";
/**
* This function selects the individual for reproduction using tournament selection
* @param population the population from which to select a parent
* @param tournamentSize size of the tournament (minimum 2)
* @returns AbstractTestCase selected individual
*
* @author Annibale Panichella
*/
export declare function tournamentSelection<T extends Encoding>(population: T[], tournamentSize: number): T;
//# sourceMappingURL=TournamentSelection.d.ts.map