Files
lan-manager/web/node_modules/@antv/algorithm/lib/pageRank.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

13 lines
546 B
TypeScript
Raw 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";
/**
* PageRank https://en.wikipedia.org/wiki/PageRank
* refer: https://github.com/anvaka/ngraph.pagerank
* @param graph
* @param epsilon 判断是否收敛的精度值,默认 0.000001
* @param linkProb 阻尼系数dumping factor指任意时刻用户访问到某节点后继续访问该节点链接的下一个节点的概率经验值 0.85
*/
declare const pageRank: (graphData: GraphData, epsilon?: number, linkProb?: number) => {
[key: string]: number;
};
export default pageRank;