設(shè)平面上分布著n個白點和n個黑點,每個點用一對坐標(biāo)(x, y)表示。一個黑點b=(xb,yb)支配一個白點w=(xw, yw)當(dāng)且僅當(dāng)xb>=xw和yb>=yw。若黑點b支配白點w,則黑點b和白點w可匹配(可形成一個匹配對)。在一個黑點最多只能與一個白點匹配,一個白點最多只能與一個黑點匹配的前提下,求n個白點和n個黑點的最大匹配對數(shù)。
標(biāo)簽: 分布
上傳時間: 2013-12-20
上傳用戶:米卡
多元線性回歸:輸入?yún)?shù)有樣本長度(n),自變量(x),因變量(Y)
上傳時間: 2013-12-17
上傳用戶:zsjzc
MODBUS 通信源代碼 MODBUS通訊協(xié)定原本是MODICON公司為自己所生產(chǎn)的PLC(可程式邏輯控制器)所開發(fā)的通訊協(xié)定,後來廣泛為工業(yè)界所使用,它是一對多的方式來通訊,目前他是採開放的方式不需支付任何費用,任何人皆可開發(fā),所以目前許多PLC、人機(jī)介面及圖控軟體都有支援。
標(biāo)簽: MODBUS MODICON PLC 通信
上傳時間: 2014-01-23
上傳用戶:FreeSky
某石油公司計劃建造一條由東向西的主輸油管道。該管道要穿過一個有 n 口油井的油田。從每口油井都要有一條輸油管道沿最短路經(jīng)(或南或北)與主管道相連。如果給定 n口油井的位置,即它們的 x 坐標(biāo)(東西向)和 y 坐標(biāo)(南北向),應(yīng)如何確定主管道的最優(yōu)位置,即使各油井到主管道之間的輸油管道長度總和最小的位置?證明可在線性時間內(nèi)確定主管道的最優(yōu)位置,使得給定n口油井的位置,編程計算各油井到主管道之間的輸油管道最小長度總和。
上傳時間: 2016-10-10
上傳用戶:hphh
實驗題目:Hermite插值多項式 相關(guān)知識:通過n+1個節(jié)點的次數(shù)不超過2n+1的Hermite插值多項式為: 其中,Hermite插值基函數(shù) 數(shù)據(jù)結(jié)構(gòu):三個一維數(shù)組或一個二維數(shù)組 算法設(shè)計:(略) 編寫代碼:(略) 實驗用例: 已知函數(shù)y=f(x)的一張表(其中 ): x 0.10 0.20 0.30 0.40 0.50 y 0.904837 0.818731 0.740818 0.670320 0.606531 m -0.904837 -0.818731 -0.740818 -0.670320 -0.606531 x 0.60 0.70 0.80 0.90 1.00 y 0.548812 0.496585 0.449329 0.406570 0.367879 m -0.548812 -0.496585 -0.449329 -0.406570 -0.367879 實驗用例:利用Hermite插值多項式 求被插值函數(shù)f(x)在點x=0.55處的近似值。建議:畫出Hermite插值多項式 的曲線。
上傳時間: 2013-12-24
上傳用戶:czl10052678
% Train a two layer neural network with the Levenberg-Marquardt % method. % % If desired, it is possible to use regularization by % weight decay. Also pruned (ie. not fully connected) networks can % be trained. % % Given a set of corresponding input-output pairs and an initial % network, % [W1,W2,critvec,iteration,lambda]=marq(NetDef,W1,W2,PHI,Y,trparms) % trains the network with the Levenberg-Marquardt method. % % The activation functions can be either linear or tanh. The % network architecture is defined by the matrix NetDef which % has two rows. The first row specifies the hidden layer and the % second row specifies the output layer.
標(biāo)簽: Levenberg-Marquardt desired network neural
上傳時間: 2016-12-27
上傳用戶:jcljkh
#include "iostream.h" #include "iomanip.h" #define N 20 //學(xué)習(xí)樣本個數(shù) #define IN 1 //輸入層神經(jīng)元數(shù)目 #define HN 8 //隱層神經(jīng)元數(shù)目 #define ON 1 //輸出層神經(jīng)元數(shù)目 double P[IN] //單個樣本輸入數(shù)據(jù) double T[ON] //單個樣本教師數(shù)據(jù) double W[HN][IN] //輸入層至隱層權(quán)值 double V[ON][HN] //隱層至輸出層權(quán)值 double X[HN] //隱層的輸入 double Y[ON] //輸出層的輸入 double H[HN] //隱層的輸出
標(biāo)簽: define include iostream iomanip
上傳時間: 2014-01-01
上傳用戶:凌云御清風(fēng)
int main(int argc,char *argv[]) { char ch while(true) { printf("*************************************\n") printf(" 1.Reader Priority\n") printf(" 2.Writer Priority\n") printf(" 3.Exit to Windows\n") printf("*************************************\n") printf("Enter your choice(1,2,3): ") do{ ch=(char)_getch() }while(ch!= 1 &&ch!= 2 &&ch!= 3 ) system("cls") if(ch== 3 ) return 0 else if(ch== 1 ) ReaderPriority("thread.dat") else WriterPriority("thread.dat") printf("\nPress Any Key to Coutinue:") _getch() system("cls") } return 0
標(biāo)簽: char int printf while
上傳時間: 2017-01-06
上傳用戶:gonuiln
La designaci貿(mào)n Modbus Modicon corresponde a una marca registrada por Gould Inc. Como en tantos otros casos, la designaci貿(mào)n no corresponde propiamente al est謾ndar de red, incluyendo todos los aspectos desde el nivel f鉚sico hasta el de aplicaci貿(mào)n, sino a un protocolo de enlace [nivel OSI 2]. Puede, por tanto, implementarse con diversos tipos de conexi貿(mào)n f鉚sica y cada fabricante suele suministrar un software de aplicaci貿(mào)n propio, que permite parametrizar sus producto
標(biāo)簽: corresponde registrada designaci Modicon
上傳時間: 2014-12-01
上傳用戶:梧桐
The circuit is drawn for measurement of acceleration from –1000 mg until + 1000 mg. It can be placed in kantra n the car and be supplied from the sheath of electric lighter. The circuit includes one indicative LED and a screen LCD.
標(biāo)簽: 1000 acceleration measurement circuit
上傳時間: 2013-12-14
上傳用戶:上善若水
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1