@syntest/search
Version:
The common core of the SynTest Framework
21 lines • 747 B
TypeScript
import { Encoding } from "../Encoding";
import { ObjectiveFunction } from "../objective/ObjectiveFunction";
import { SearchSubject } from "../SearchSubject";
/**
* Objective function for the exception criterion.
*
* This objective function should not be added manually to the objective manager.
* It is added dynamically when an exception occurs on runtime.
*
* @author Mitchell Olsthoorn
*/
export declare class ExceptionObjectiveFunction<T extends Encoding> extends ObjectiveFunction<T> {
protected _error: Error;
constructor(subject: SearchSubject<T>, id: string, error: Error);
get error(): Error;
/**
* @inheritDoc
*/
calculateDistance(): number;
}
//# sourceMappingURL=ExceptionObjectiveFunction.d.ts.map