Files
lan-manager/web/node_modules/@antv/algorithm/es/i-louvain.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
768 B
TypeScript

import type { ClusterData, GraphData } from './types';
/**
* 社区发现 i-louvain 算法:模块度 + 惯性模块度(即节点属性相似性)
* @param graphData 图数据
* @param directed 是否有向图,默认为 false
* @param weightPropertyName 权重的属性字段
* @param threshold 差值阈值
* @param propertyKey 属性的字段名
* @param involvedKeys 参与计算的key集合
* @param uninvolvedKeys 不参与计算的key集合
* @param inertialWeight 惯性模块度权重
*/
declare const iLouvain: (graphData: GraphData, directed?: boolean, weightPropertyName?: string, threshold?: number, propertyKey?: string, involvedKeys?: string[], uninvolvedKeys?: string[], inertialWeight?: number) => ClusterData;
export default iLouvain;