-
大小: 15KB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-01-06
- 語言: C/C++
- 標簽: 社團發(fā)現(xiàn)??
資源簡介
Newman寫的最初的C語言社團發(fā)現(xiàn)算法,里面包括了相應的數(shù)據(jù)。
代碼片段和文件信息
/*?Program?to?do?group?selection?according?to?the?method?of?Riolo
?*?Cantwell?Reinert?and?Newman
?*
?*?Written?by?Mark?Newman?January?2017
?*/
/*?Inclusions?*/
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?“readgml.h“
/*?Constants?*/
#define?K?25???????????????//?Maximum?number?of?groups
#define?MCSWEEPS?10000?????//?Number?of?Monte?Carlo?sweeps?to?perform
#define?SAMPLE?1???????????//?Rate?at?which?to?print?out?results?in?sweeps
/*?Globals?*/
NETWORK?G;????????????//?The?network
int?twom;?????????????//?Twice?the?number?of?edges
double?p;?????????????//?Average?edge?probability
int?k;????????????????//?Current?value?of?k
int?*g;???????????????//?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????10613??2017-09-02?16:03??communities.c
?????文件????????6235??2017-06-07?20:03??estimate.c
?????文件????????3286??2017-06-07?20:00??index.html
?????文件???????17610??2017-06-07?20:03??lesmis.gml
?????文件?????????292??2017-06-07?20:03??Makefile
?????文件????????1006??2017-06-07?20:03??network.h
?????文件????????9320??2017-06-07?20:03??readgml.c
?????文件?????????249??2017-06-07?20:03??readgml.h
?????文件????????2537??2017-09-01?02:04??README
- 上一篇:C語言 馬踏棋盤
- 下一篇:哲學家就餐問題C語言源文件
評論
共有 條評論