UNPKG

pddl-gantt

Version:

Plan visualization for AI-Planning plans. The package includes HTML components for Gantt, swimlane and line plot visualization of plan originating from AI Planning solvers.

10 lines (9 loc) 508 B
import { Plan, PlanStep, ProblemInfo } from "pddl-workspace"; /** Aligns action and object capitalization with the definitions in the domain and problem */ /** * Changes capitalization of the plan action names and object names to match the domain/problem. * This is assuming the case-insensitive PDDL treatment. * @param plan orig plan */ export declare function capitalize(plan: Plan): Plan; export declare function capitalizeStep(step: PlanStep, actionNames: string[], problem: ProblemInfo): PlanStep;