INTERFACE GDProgram; (* Graph drawing `program' or `A-team'. *) IMPORT GDHistory; FROM GDGeometry IMPORT NAT, BOOL; TYPE T = REF RECORD inst: Instruction; next: T END; (* A program is a (circular) list of heuristic calls. They can be executed in "Fixed" order, or in "ATeam" fashion. See "RunFixed" and "RunATeam" below. *) Instruction <: PubInst; PubInst = GDHistory.Instruction OBJECT op: TEXT; (* The heuristics' name. *) count: NAT; (* Repeat count. *) inertia: LONGREAL; (* Inertia parameter (see "HeuristicProc"). *) print: BOOL; (* Output result (when executing in "Fixed" mode). *) name: TEXT; (* Argument for "ReadFile" heuristic. *) END; END GDProgram. (* Last edited on 2000-01-12 09:34:13 by stolfi *)