Files
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

37 lines
775 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { GraphData } from "../types";
export interface EdgeMap {
[key: string]: {
idx: number;
edge: any;
};
}
export interface NodeMap {
[key: string]: {
idx: number;
node: any;
degree: number;
inDegree: number;
outDegree: number;
};
}
interface GraphDataMap {
[key: string]: GraphData;
}
interface Props {
graphs: GraphDataMap;
minSupport: number;
directed?: boolean;
nodeLabelProp?: string;
edgeLabelProp?: string;
minNodeNum?: number;
maxNodeNum?: number;
top?: number;
verbose?: boolean;
}
/**
* gSpan 频繁子图计算算法frequent graph mining
* @param params 参数
*/
declare const gSpan: (params: Props) => GraphData[];
export default gSpan;