UNPKG

@syntest/core

Version:

The common core of the SynTest Framework

36 lines 959 B
import { ObjectiveFunction } from "../objective/ObjectiveFunction"; import { Encoding } from "../Encoding"; import { SearchSubject } from "../SearchSubject"; /** * Objective function for the function branch criterion. * * @author Mitchell Olsthoorn * @author Annibale Panichella * @author Dimitri Stallenberg */ export declare class FunctionObjectiveFunction<T extends Encoding> implements ObjectiveFunction<T> { protected _subject: SearchSubject<T>; protected _id: string; protected _line: number; /** * Constructor. * * @param subject * @param id * @param line */ constructor(subject: SearchSubject<T>, id: string, line: number); /** * @inheritDoc */ calculateDistance(encoding: T): number; /** * @inheritDoc */ getIdentifier(): string; /** * @inheritDoc */ getSubject(): SearchSubject<T>; } //# sourceMappingURL=FunctionObjectiveFunction.d.ts.map