You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
432 B
10 lines
432 B
import { GraphData, ClusterData } from './types';
|
|
/**
|
|
* 标签传播算法
|
|
* @param graphData 图数据
|
|
* @param directed 是否有向图,默认为 false
|
|
* @param weightPropertyName 权重的属性字段
|
|
* @param maxIteration 最大迭代次数
|
|
*/
|
|
declare const labelPropagation: (graphData: GraphData, directed?: boolean, weightPropertyName?: string, maxIteration?: number) => ClusterData;
|
|
export default labelPropagation;
|
|
|