UNPKG

@syntest/core

Version:

The common core of the SynTest Framework

28 lines 902 B
import { ObjectiveManager } from "./ObjectiveManager"; import { Encoding } from "../../Encoding"; import { SearchSubject } from "../../SearchSubject"; import { ObjectiveFunction } from "../ObjectiveFunction"; import { EncodingRunner } from "../../EncodingRunner"; /** * A simple objective manager that always evaluates an encoding on all objectives. * * @author Mitchell Olsthoorn */ export declare class SimpleObjectiveManager<T extends Encoding> extends ObjectiveManager<T> { /** * Constructor. * * @param runner Encoding runner */ constructor(runner: EncodingRunner<T>); /** * @inheritDoc * @protected */ protected _updateObjectives(objectiveFunction: ObjectiveFunction<T>, encoding: T, distance: number): void; /** * @inheritDoc */ load(subject: SearchSubject<T>): void; } //# sourceMappingURL=SimpleObjectiveManager.d.ts.map