UNPKG

@zfunction/genetics-js

Version:

Genetic and evolutionary algorithms framework for the web

19 lines (18 loc) 710 B
import { NumericIndividual } from '../../../individual/numeric/base/'; import { BaseIndividualReader } from '../../base'; /** * ## Numeric Reader * Provides an implementation for a reader for * [[NumericIndividual]]. * @typeparam I Type of the generated individual, which extends [[NumericIndividual]]. */ export declare abstract class NumericReader<I extends NumericIndividual> extends BaseIndividualReader<I, number> { /** * Tokenize a string into several * tokens. the tokens are separated by one * or more whitespace characters. * @param definition of the individual. * @return the tokenized string. */ tokenize(definition: string): string[]; }