@zfunction/genetics-js
Version:
Genetic and evolutionary algorithms framework for the web
8 lines (7 loc) • 448 B
TypeScript
import { BaseIndividual } from '../../individual/base/BaseIndividual';
import { Population } from '../../population/Population';
import { BaseSelection, BaseSelectionParams as RandomSelectionParams } from './BaseSelection';
export declare class RandomSelection<I extends BaseIndividual<T>, T> extends BaseSelection<I, T> {
selectWith(population: Population<I, T>, params: RandomSelectionParams): I[];
}
export { RandomSelectionParams };