-
GN算法java实现
这是一个经典的社团划分,采用GN算法思想,
基本上是从昨天开始吧,着手复杂网络的GN算法,整个过程包括从GML文件中提取邻接矩阵数据,GN算法的实现,模块度的计算。
(1)GML文件的读取。做GN的时候首次知道GML(Graph Model Language),GML (Graph Modelling
Language): There are many different programs that work with graphs but almost
all of them use their own file format. As a consequence, exchanging graphs
between different programs is almost impossible. Simple tasks like exchange of
data, externally reproducible results or a common benchmark suite are much
harder than neccessary.
Therefore, we have developed a new file format for
the Graphlet system: GML. GML supports attaching arbitrary information to
graphs, nodes and edges, and is therefore able to emulate almost every other
format.
从上面的英文中我们可以知道,GML是一种文件格式,试图统一大家对图结构的表达形式。这样,会很方便大家的交互,比如程序的利用。我们主要工作是从GM
- 2022-02-20 11:14:43下载
- 积分:1
-
各种高效率排序总结。不看后悔。
冒泡排序 ,堆排序,快速排序,二分法排序(折半排序),归并排序,选择排序,
- 2022-02-15 04:22:39下载
- 积分:1
-
cpu 调度算法 fcfs sjf,RR,......
cpu 调度算法使用六种调度算法先到送达,最短的工作,首先,没有抢占优先级与无抢占循环赛
- 2022-02-10 05:22:38下载
- 积分:1
-
多用户MIMO预编码
本代码详细的描述了多用户下行链路的误码率,对于初学者又很好的借鉴作用,当然如果代码看不太明白的话,您可以先看一些相关的文献,对一些基本的内容作一些了解,然后再看代码,会起到事半功倍的效果,谢谢合作。 &
- 2023-04-25 12:15:03下载
- 积分:1
-
一个求解Josephus问题的函数
#include
#include
#define NULL 0
#include
typedef struct Lnode
{
int data;
struct Lnode *next;
}Josephus;
void CreateList(Josephus*&L,int n)//建立循环链表
{
int i;
Josephus *p,*s;
s=(Josephus*)malloc(sizeof(Josephus));
s->data=1;
L=p=s;
for(i=2;idata=i;
p->next=s;
p=s;
}
p->next=L;
}
void DeleteList(Josephus*&L,Josephus*p,Josephus*q)
{
q->next=p->next;
free(p);
}
void Josephus1(Josephus*&L,int s,int m)
- 2022-01-27 23:12:59下载
- 积分:1
-
二分法查找
二分法查找-dichotomy Search
- 2022-03-24 21:03:58下载
- 积分:1
-
8051 串口 循环缓冲区
串口C程序 , STC mcu ,循环缓冲区,
解决串口丢数据问题, 实际工程中很稳定,
接收时, 在中断中接收, 写入循环缓冲区,
主程序去循环缓冲区中取数据。
- 2022-02-11 15:18:41下载
- 积分:1
-
C语言求逆矩阵
C语言求逆矩阵 介绍一下算法导论上的一般的矩阵求拟算法思路。 假设要对矩阵A求逆,首先利用矩阵论知识,对A进行LUD分解。 利用分解出来的矩阵L,U,D来求解AB=I中的n个线性方程组,得到n个解向量,所有解向
- 2023-01-13 23:50:03下载
- 积分:1
-
数字图像中值处理
均值滤波、中值滤波的计算机实现方法;学习VC++ 6。0 的编程方法;验证均值滤波、中值滤波处理理论;观察均值滤波、中值滤波处理的结果。
实验的软、硬件平台:
- 2022-01-24 13:37:58下载
- 积分:1
-
计算方法A中的雅可比算法 是我在学习计算方法时编写的 体现了雅可比算法计算求解的过程...
计算方法A中的雅可比算法 是我在学习计算方法时编写的 体现了雅可比算法计算求解的过程-A calculation method of Jacobi algorithm is calculated in the study prepared by the method reflects the Jacobian algorithm for Xie process
- 2023-05-23 21:35:04下载
- 积分:1