UNPKG

mahler

Version:

A automated task composer and HTN based planner for building autonomous system agents

19 lines (18 loc) 737 B
import type { Distance } from '../distance'; import type { Operation } from '../operation'; import type { Task } from '../task'; import { Method } from '../task'; import type { Plan } from './plan'; import type { PlannerConfig } from './types'; interface PlanningState<TState = any> { distance: Distance<TState>; tasks: Array<Task<TState, string, any>>; depth?: number; operation?: Operation<TState, any>; trace: PlannerConfig<TState>['trace']; initialPlan: Plan<TState>; callStack?: Array<Method<TState>>; maxSearchDepth: number; } export declare function findPlan<TState = any>({ distance, tasks, trace, depth, initialPlan, callStack, maxSearchDepth, }: PlanningState<TState>): Plan<TState>; export {};