【文章內(nèi)容簡介】
,依次類推,每次執(zhí)行的過程中若與前兩次連接到相同的點(diǎn)上,則重新進(jìn)行擇優(yōu),以此保證生成的網(wǎng)絡(luò)能夠滿足網(wǎng)絡(luò)的無標(biāo)度性。 下面給出一個(gè)由100個(gè)節(jié)點(diǎn)組成的無標(biāo)度網(wǎng)絡(luò)的部分節(jié)點(diǎn)連接關(guān)系。圖2 無標(biāo)度網(wǎng)絡(luò)部分節(jié)點(diǎn)鏈接關(guān)系通過C++,我們也得到了一個(gè)無標(biāo)度網(wǎng)絡(luò)的鄰接矩陣和聚類系數(shù)。圖3 無標(biāo)度網(wǎng)絡(luò)鄰接矩陣及其聚類系數(shù)在生成無標(biāo)度網(wǎng)絡(luò)后,通過編程,繪制了一張由100個(gè)節(jié)點(diǎn)組成的無標(biāo)度網(wǎng)絡(luò)圖。圖3 無標(biāo)度網(wǎng)絡(luò)模型其部分實(shí)現(xiàn)代碼解釋如下:len=r_size(1)。rho=10。 %限制圖尺寸的大小r=5/^len。 %設(shè)置點(diǎn)的半徑theta=0:(2*pi/len):2*pi*(11/len)。 %利用極坐標(biāo)繪制一個(gè)由100各點(diǎn)組成的圓[pointx,pointy]=pol2cart(theta39。,rho)。theta=0:pi/36:2*pi。[tempx,tempy]=pol2cart(theta39。,r)。point=[pointx,pointy]。hold on %保留已經(jīng)繪制好的點(diǎn)不給覆蓋繪制無標(biāo)度網(wǎng)絡(luò)分為兩個(gè)步驟:。,然后根據(jù)鄰接矩陣?yán)L制各點(diǎn)之間的關(guān)系for i=1:len for j=1:len if rel(i,j) link_plot(point(i,:),point(j,:),r,control)。 %將有關(guān)系的點(diǎn)進(jìn)行連接 end endend這樣就將網(wǎng)絡(luò)中所有相連的節(jié)點(diǎn)進(jìn)行了連接,建立了無標(biāo)度網(wǎng)絡(luò)的模型。 參考文獻(xiàn):[1] Watts D J,Strogatz S H。Collective dynamics of ‘smallworld’ networks [J]。Nature,1998,393(6684):397498.[2]。Emergence of scaling in random networks。,286(5439):509512.[3] structure and function of plex ReView2003,45(2):167256.[4] 方小生.《隨機(jī)網(wǎng)絡(luò)控制系統(tǒng)的性能分析與魯棒控制》..[5]:2004.(4):1116.[6] theory for scalefree random networks,PhysicaA,1999,272:173187,condmat/9907068.[7]孫金土.《復(fù)雜系統(tǒng)中的有關(guān)特性和動(dòng)力學(xué)行為》..[8]劉美玲.《BA無標(biāo)度網(wǎng)絡(luò)模型的應(yīng)用及擴(kuò)展》..Research on ScaleFree Network and Modeling of Complex SystemXia YouliangDepartment of System Science,Nanjing University of Information Science amp。 Technology,Nanjing 210044ABSTRACTThe 21st century is the plexity of the world, Been unable to meet the current understanding of nature and human society as a whole system and researchbased the reductionism worldview and methodology, The use of systems science methods to reexamine science almost bees an urgent need. In real life, the numerous and plex network is a scalefree nature, such growth in scalefree networks and preferred connectivity very well explain the rich getting richer Matthew effect”. Research on scalefree networks, there is a profound understanding of their Internet, seismic networks, viral and social wealth distribution network in the theoretical and practical significance. This article through a plex network of analysis and research on scalefree network, introduces the General random scalefree networks from network characteristics and practical significance, and use Matlab to generate a scalefree network.Key word: scalefree network,power law characteristics ,model building附錄:C++程序:includeincludeincludeconst int N=20。int n。int select(float bit[])。class BA{public: int s,v,h。 float max。 int a[N+1][N+1]。 int b[N+1][N+1]。 int k[(N+1)*(N+1)]。 float num[(N+1)*(N+1)]。 float p[(N+1)*(N+1)]。