开发C#基于PageRank算法
发布时间
阅读量:
阅读量
使用C#实现PageRank算法
using System;
using System.Collections.Generic;
using System.IO;
namespace EXP2_C
{
class PageRank
{
public int N;
private double AFA;
private double DELTA;
private double MAX_TIMES;
List<List<int>> graph;
public PageRank(int N, double AFA, double DELTA, double MAX_TIMES)
{
this.N = N;
this.AFA = AFA;
this.DELTA = DELTA;
this.MAX_TIMES= MAX_TIMES;
}
public void pagerank()
{
double[] Pr
全部评论 (0)
还没有任何评论哟~
