亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pubfile.asv

?? 無標(biāo)度網(wǎng)絡(luò)的生成模型
?? ASV
字號:
%% B-A Scale-Free Network Generation and Visualization
% *By Mathew Neil George*

%% Description and Cautions
% The *SFNG* m-file is used to simulate the B-A algorithm and returns scale-free
% networks of given node sizes. Understanding the B-A algorithm is key 
% to using this code to its fullest. Due to Matlab resource limitations, it may not be
% possible to generate networks much larger than 15000 nodes, and increasing the
% *mlinks* variable increases processing time severely. This code was
% developed so that one could generate a network of small size, and then
% use that network as a seed to build a greater sized network, continuing
% this process until the actual desired network size is reached. This is for
% processor and time management purposes. However, realize that the initial
% seed does not have to have scale-free properties, while the later seeds
% may happen to have these properties. Therefore, it is prudent not to make the
% initial seed size much larger than a few nodes (most commonly 5
% interconnected nodes). In addition, the *mlinks* should be kept constant
% throughout the creation of the scale-free network.
%
% The *PLplot* m-file takes a scale-free network in adjacency matrix format
% and draws a best fit line to the frequency of degrees distribution of the
% nodes. Degree is the number of links that connect to and from a single node
% For scale-free networks, the frequency of degrees distribution forms a 
% power-law curve, with an exponent usually between -2 and -3. This code is
% designed to allow only non-zero frequencies to be graphed in log-log format.
% The function returns the equation of the power-law fit in a cfit variable.
%
% The *CNet* m-file function creats a network graph using the *gplot*
% function with circular coordinates. It allows for a simple, yet
% intuitive, visualization of a given network.

%% Parameters
% *SFNG*
%
% * *Nodes* is the desired network size, including the seed network size
%   (i.e. Nodes minus seed network size equals the number of nodes to be
%   added).
%
% * *mlinks* controls the number of links a new node can make to the existing
%   network nodes.
%
% * *seed* is the original network to which the B-A algorithm links
%   additional nodes with a specific preferential attachment procedure.
%   This undirected adjacency matrix can be created manually, or one could
%   use the *Adjacency Matrix GUI*. Each node must have at least one link.
%   The *seed* variable can be replaced with a developed scale-free network
%   to generate a larger one. Make sure the new *Nodes* variable is greater
%   than the size of the *seed* network.
% 
% *PLplot*
%
% * *Net* is the input network which is to be graphed.
%
% *CNet*
%
% * *Net* is the input network which is to be graphed.
%
% Note that variables *Nodes*, *mlinks*, and *size* must be whole numbers and 
% variables *seed* and *Net* must be undirected adjacency matrices. The 
% diagonol elements of any adjacency matrix used with these functions must
% all be zero.

%% Sample Output
% Here is a small example to demonstrate how to use the code. This code
% creates a seed network of 5 nodes, generates a scale-free network of 300 nodes from
% the seed network, and then performs the two graphing procedures.
seed =[0 1 0 0 1;1 0 0 1 0;0 0 0 1 0;0 1 1 0 0;1 0 0 0 0]
Net = SFNG(200, 1, seed);
PL_Equation = PLplot(Net)
CNet(Net)

%%用pajek畫圖
Num = max(size(Net));
fid = fopen('Node.net', 'w');
fprintf(fid, '*Vertices   %d \r\n', Num);

for i = 1 : Num 
    fprintf(fid, '  %s   "v%s"           %6.2f  %6.2f  %6.2f  ', num2str(i), num2str(i), rand(1), rand(1), 0.5);
    fprintf(fid,'\r\n');
end 

fprintf(fid, '*Edges\r\n');

for i = 1 : Num 
    for j = i + 1 : Num
        if seed(i,j) == 1
            fprintf(fid, '  %d  %d  %d', i, j, 1);            
            fprintf(fid,'\r\n');
        end 
    end 
end

fclose(fid);
            

% we will calculate the average clustering coefficient ONLY for those
% vertices where the number of neighbors is >1. We can calculate it
% for all vertices as well, by defining that if the vertex has zero 
% neighbors, its clustering coeff is zero, and if it has one neighbor,
% its clustering coeff is one.
A_ud=Net+Net';             % sum A and its transpose

triangles=sum(Net,2);
k=sum(A_ud,2); % the number of edges for each vertex

c_avg=0;
N_k_morethanone=0;

for i=1:length(Net);
    if k(i)>1
        c_avg=c_avg+2*triangles(i)/(k(i)*(k(i)-1));
        N_k_morethanone=N_k_morethanone+1; 
    end 
end

c_avg=c_avg/N_k_morethanone;

fprintf('The average clustering coefficient for the %d vertices where k>1 is %1.2f\n',N_k_morethanone,c_avg);

%%computing potential

for i=1:length(Net)
    for j=1:length(Net)
        if (i~=j) & (Net(i,j) == 0)
           Net(i,j)=inf;
        end        
    end
end    


%%計算最短路徑
Mat_Distance = Fun_Distance(Net);
%初始化
Int_EffectRange = Inf;%%影響范圍
Flt_Sigma = 1;
Lin_Mass = ones(1, length(Net));%%節(jié)點質(zhì)量

 % %%(優(yōu)化因子,該優(yōu)化因子對應(yīng)的勢熵)
[Flt_H] = Fun_Sigma(Net, Lin_Mass); 
Min=Fun_List(Flt_H(:,1)');
Flt_Sigma = Flt_H(Min(size(Min,1), 1), 2);
Lin_Potential = zeros(1, length(Net));



%畫sigma圖
figure
plot(Flt_H(:,2),Flt_H(:,1))
xlabel('影響因子(sigma)')
ylabel('勢熵(Potential Entropy H)')


%計算各個節(jié)點的勢值
for i = 1: length(Net)
    Lin_Potential(i) = Fun_ComputePotential (Mat_Distance(i,:),i, Flt_Sigma, Lin_Mass,Int_EffectRange);
end
%各個節(jié)點的勢值排序
Mat_ListPotential = Fun_List ( Lin_Potential)

%計算平均距離
d=  Fun_D(Mat_Distance)


%計算各個節(jié)點的度&排序
[Lin_Degree, Mat_RelationD] = Fun_Degree ( Net);
Mat_ListDegree = Fun_List (Lin_Degree);


%% References
% One explanation of the B-A Algorithm can be found on this PDF website
% http://arxiv.org/PS_cache/cond-mat/pdf/0107/0107420.pdf
%
% Undirected Adjecency Matrices are defined on Wikipedia.org
% http://en.wikipedia.org/wiki/Adjacency_matrix
%
% The *Adjacency Matrix GUI* file by Steve Chuang can be found on the Matlab File Exchange
% http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=6937&objectType=file

%% Acknowledgements
% Special thanks to Mark Ballerini with the Massapequa High School Science 
% Research Program and Zoltan Dezso at the University of Notre Dame for 
% their invaluable help in researching network theory as well as to my 
% family for providing motivation and encouragement in pursuing science.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美在线高清| 精品对白一区国产伦| 亚洲欧美日韩成人高清在线一区| 国产91在线|亚洲| 中文字幕 久热精品 视频在线| 丁香一区二区三区| 日韩一区欧美一区| 91高清视频免费看| 免费看欧美女人艹b| 精品国产乱子伦一区| 国产老妇另类xxxxx| 国产精品美女久久久久久久 | 日韩精品自拍偷拍| 久久99蜜桃精品| 亚洲国产高清不卡| 91啪亚洲精品| 日韩中文欧美在线| 欧美国产在线观看| 欧美午夜一区二区三区| 久久草av在线| 国产精品免费aⅴ片在线观看| 日本大香伊一区二区三区| 亚洲成av人**亚洲成av**| 欧美成人艳星乳罩| 成人一区二区三区视频在线观看| 亚洲午夜在线视频| 久久久久成人黄色影片| 欧美性感一类影片在线播放| 激情国产一区二区| 亚洲精品欧美专区| 日韩欧美国产综合| 色婷婷av一区二区三区gif| 麻豆精品在线视频| 亚洲精品乱码久久久久久黑人| 欧美一区二区视频在线观看| 成人av在线观| 老司机精品视频线观看86| 中文字幕一区二区日韩精品绯色| 欧美一区二区私人影院日本| 波多野结衣亚洲| 免费在线欧美视频| 亚洲黄色尤物视频| 久久久蜜桃精品| 在线一区二区三区四区五区| 国产老肥熟一区二区三区| 亚洲第一激情av| 国产精品国产三级国产aⅴ入口 | 99精品久久99久久久久| 激情综合五月婷婷| 午夜精品福利一区二区蜜股av| 国产日韩影视精品| 日韩欧美高清在线| 欧美日韩一本到| av在线播放不卡| 精品伊人久久久久7777人| 一二三区精品福利视频| 中文字幕在线观看一区| 日韩欧美一二三区| 欧美色精品在线视频| 91同城在线观看| 国产资源精品在线观看| 免费在线观看不卡| 日韩国产在线观看一区| 亚洲欧美色一区| 中文字幕中文在线不卡住| 久久久不卡网国产精品一区| 日韩三级视频在线看| 欧美日韩高清一区二区| 色婷婷国产精品久久包臀| av午夜精品一区二区三区| 国产999精品久久久久久绿帽| 久久国产福利国产秒拍| 日本欧美大码aⅴ在线播放| 亚洲国产精品一区二区www| 亚洲精品成人少妇| 依依成人综合视频| 亚洲高清视频的网址| 一区二区三区丝袜| 亚洲制服丝袜av| 亚洲伦理在线精品| 一区二区欧美精品| 亚洲国产wwwccc36天堂| 亚洲一区二区三区不卡国产欧美| 一区二区三区中文字幕| 亚洲精品国产第一综合99久久| 国产精品传媒视频| 日韩伦理免费电影| 亚洲精品久久7777| 亚洲地区一二三色| 日韩黄色小视频| 青青草97国产精品免费观看| 美女久久久精品| 国产毛片精品国产一区二区三区| 国产精品影视网| 高清shemale亚洲人妖| 成人av电影免费在线播放| 成人av影院在线| 在线视频国内一区二区| 欧美精品tushy高清| 精品国产人成亚洲区| 国产欧美日韩麻豆91| 亚洲欧洲精品一区二区精品久久久| 亚洲精选一二三| 日本成人超碰在线观看| 国产另类ts人妖一区二区| 91社区在线播放| 欧美二区三区的天堂| 26uuu亚洲| 亚洲精品视频免费看| 无码av免费一区二区三区试看| 日韩电影免费在线| 国产成人在线观看免费网站| 色综合天天综合色综合av| 欧美日本一区二区三区四区| 日韩午夜在线播放| 一区视频在线播放| 日韩精品五月天| 国产99久久精品| 欧美日韩精品电影| 欧美激情在线观看视频免费| 亚洲一区二区三区四区在线观看 | 国产精品女主播av| 午夜精品在线视频一区| 国产乱子轮精品视频| 色综合久久久久综合体桃花网| 欧美高清dvd| 国产精品久久久久影院| 午夜精品123| 99综合影院在线| 日韩一区二区三区免费看| 亚洲欧洲国产日本综合| 美国毛片一区二区三区| 在线中文字幕一区二区| 久久久久久久综合色一本| 亚洲第一久久影院| av一本久道久久综合久久鬼色| 欧美一区二区三区免费观看视频| 亚洲欧洲一区二区三区| 久久99国产精品久久99| 欧美日韩久久久久久| 国产精品久久久久婷婷二区次| 日精品一区二区| 色哟哟精品一区| 日本一区二区三区电影| 日本欧美一区二区三区乱码| 色综合天天在线| 国产欧美一区视频| 麻豆一区二区99久久久久| 欧美日韩在线一区二区| 亚洲欧美一区二区三区极速播放 | zzijzzij亚洲日本少妇熟睡| 久久只精品国产| 人妖欧美一区二区| 欧美日韩免费一区二区三区| 亚洲精品视频免费观看| 成人美女视频在线看| 久久精品一区四区| 激情六月婷婷久久| 欧美成人精品3d动漫h| 日韩电影在线观看一区| 欧美在线免费观看视频| 亚洲欧美日韩人成在线播放| 成人高清在线视频| 中文字幕在线观看一区二区| 成人免费视频视频在线观看免费 | k8久久久一区二区三区 | 亚洲丝袜另类动漫二区| 国产成人99久久亚洲综合精品| 欧美精品一区二区在线播放 | 中文字幕久久午夜不卡| 国产乱码字幕精品高清av| 久久久久久久久久久久电影| 国产一区久久久| 国产网红主播福利一区二区| 国产91富婆露脸刺激对白| 国产精品久久久99| 色一区在线观看| 亚洲成a人v欧美综合天堂下载| 欧美日韩国产一区| 理论电影国产精品| 久久亚洲捆绑美女| 成人激情图片网| 中文字幕国产一区| 91亚洲精华国产精华精华液| 亚洲一二三四久久| 在线成人av网站| 精品在线免费视频| 国产日韩精品视频一区| 99久久精品99国产精品| 亚洲二区在线观看| 欧美va亚洲va在线观看蝴蝶网| 国产伦精品一区二区三区免费迷| 国产日产精品1区| 91在线码无精品| 天天色图综合网| 国产色综合一区| 欧洲一区在线观看| 激情伊人五月天久久综合| 国产嫩草影院久久久久| 95精品视频在线|