Files
lan-manager/web/node_modules/@antv/algorithm/es/structs/binary-heap.d.ts
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

15 lines
412 B
TypeScript

export default class MinBinaryHeap {
list: any[];
compareFn: (a: any, b: any) => number;
constructor(compareFn?: (a: any, b: any) => number);
getLeft(index: any): number;
getRight(index: any): number;
getParent(index: any): number;
isEmpty(): boolean;
top(): any;
delMin(): any;
insert(value: any): boolean;
moveUp(index: any): void;
moveDown(index: any): void;
}