%The phase locked loop(PLL),adjusts the phase of a local oscillator
%w.r.t the incoming modulated signal.In this way,the phase of the
%incoming signal is locked and the signal is demodulated.This scheme
%is used in PM and FM as well.
%We will implement it by using a closed loop system.Control systems
%techniques are applied here.
一個使用免疫算法實現(xiàn)物流調(diào)度的源代碼,使用SQL Server 2005+Visual Studio C# 2005開發(fā),可以在地圖上描出優(yōu)化路徑。壓縮包中的wldd.bak和wldd1.bak為數(shù)據(jù)庫文件,將其恢復(fù)到SQL Server 2005中即可。需要注意的是,默認的連接字符串為
connectionString="Data Source=YANXL\SQLEXPRESS Initial Catalog=wldd1 User ID=sa Password=dream"
初始密碼可以改掉
鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個類開始。程序1 2 - 1給出了類的描述。程
序中,先用程序1 - 1 3中函數(shù)Make2DArray 為二組數(shù)組a 分配空間,然后對數(shù)組a 初始化,以描述
一個n 頂點、沒有邊的圖的鄰接矩陣,其復(fù)雜性為( n2 )。該代碼沒有捕獲可能由M a k e 2 D A r r a y
引發(fā)的異常。在析構(gòu)函數(shù)中調(diào)用了程序1 - 1 4中的二維數(shù)組釋放函數(shù)D e l e t e 2 D