| 1234567891011121314151617 |
- import { AlgorithmContext } from "./AlgorithmContext.js";
- export default abstract class AlgorithmStep<C extends AlgorithmContext> {
- private readonly _id: string;
- protected constructor(id: string) {
- this._id = id;
- }
- public onBeforeRun() : void {
- }
- public abstract run(context: C) : void;
-
- public onAfterRun() : void {
- }
- }
|