-
/*
* EULER S ALGORITHM 5.1
*
* TO APPROXIMATE THE SOLUTION OF THE INITIAL VALUE PROBLEM:
* Y = F(T,Y), A<=T<=B, Y(A) = ALPHA,
* AT N+1 EQUALLY SPACED POINTS IN THE INTERVAL [A,B].
*
* INPUT: ENDPOINTS A,B INITIAL CONDITION ALPHA INTEGER N.
*
* OUTPUT: APPROXIMATION W TO Y AT THE (N+1) VALUES OF T.
*/
標簽:
APPROXIMATE
ALGORITHM
THE
SOLUTION
上傳時間:
2015-08-20
上傳用戶:zhangliming420
-
王小平《遺傳算法——理論、應用與軟件實現》隨書光盤,內容有:
\GA 本書中所附源程序C或C++代碼文件及其可執行文件
Scs.cpp 基本分類算法源程序,輸入數據文件cfile.txt,efile.txt,gfile.txt,pfile.txt,rfile.txt,tfile.txt
Sga.c 基本遺傳算法源程序, 輸入數據文件input,輸出文件output
A_life.c 基于遺傳算法的人工生命模擬源程序, 輸入數據文件world
GA_nn.c 基于遺傳算法優化神經網絡結構源程序,輸入數據文件sample
Patmat.c 基于遺傳算法提取基元圖形源程序
\Sources 遺傳算法相關自由軟件及代碼
標簽:
算法
光盤
軟件實現
上傳時間:
2013-12-14
上傳用戶:sz_hjbf
-
The true-multilingual Virtual Keyboard with input translation support
標簽:
true-multilingual
translation
Keyboard
Virtual
上傳時間:
2015-09-06
上傳用戶:gundamwzc
-
The standard optimum Kalman filter demands complete
knowledge of the system parameters, the input forcing functions, and
the noise statistics. Several adaptive methods have already been devised
to obtain the unknown information using the measurements and
the filter residuals.
標簽:
parameters
knowledge
the
standard
上傳時間:
2013-12-17
上傳用戶:541657925
-
本程序分為界面和控制器核心兩部分
一、界面部分功能主要有:
(1)顯示控制器核心數據和參數
(2)與用戶交互,可以調節初始輸入溫度值,并將溫度變化率清零以便進行新一輪的模擬。
界面使用了定時器。開啟模擬時候,每隔一秒,觸發一次計時器消息,完成下列工作:
1. 將界面上的當前溫度映射為模糊控制器的輸入溫度
2. 輸出當前溫度,當前溫度變化率
3. 調用模糊控制,得到控制器輸出值,將其乘以m_fFuelEffect (燃料輸出對溫度變化率的影響率,目前設置為0.3),得到變化率的變化,加到當前溫度變化率上,得到新的變化率。
4. 更新變化率,更新溫度。將結果映射到界面上。
5. 記錄相關數據并以圖形、數字方式輸出。
二、控制器核心用到的類有
(1)Rule_Func_Single
將簡單的函數包裝成類,方便后面使用。實現了 NB, NS, ZO, PS, PB 等梯形函數,以及常值函數。
(2)Grading_Func
繼承自Rule_Func_Single類,比基類增加一個輸入參數,指明梯形函數屬于Input, Delta或者Output 。
(3)Rule_Function
將兩個Grading_Func結合在一起,進行模糊與或模糊或等模糊邏輯操作,并輸出結果。
標簽:
分
核心
程序
控制器
上傳時間:
2014-11-01
上傳用戶:Yukiseop
-
Problem Statement
You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input.
Definition
Class: ReverseSubstring
Method: findReversed
Parameters: string
Returns: string
Method signature: string findReversed(string input)
(be sure your method is public)
Notes
The substring and its reversal may overlap partially or completely.
The entire original string is itself a valid substring (see example 4).
Constraints
input will contain between 1 and 50 characters, inclusive.
Each character of input will be an uppercase letter ( A - Z ).
Examples
0)
"XBCDEFYWFEDCBZ"
Returns: "BCDEF"
We see that the reverse of BCDEF is FEDCB, which appears later in the string.
1)
標簽:
input
Statement
You
are
上傳時間:
2015-09-21
上傳用戶:sunjet
-
tr1 byte "Please input the first 64-bit in hex:first - second",0dh,0ah,0
string byte "remener :use enter to tell high 32-bit from low 32-bit",0dh,0ah,0
examp1 byte "eg: 1234ecdf",0dh,0ah,0
examp2 byte " 03ab2543",0dh,0ah,0
標簽:
first
byte
remener
Please
上傳時間:
2014-08-22
上傳用戶:huyiming139
-
data
array sdword 2 dup(?)
str1 byte "Please input one 32-bit sign number :",0dh,0ah,0
str2 byte "The result is : ",0
align 4
jia1gao sdword 0
jia1 sdword 0
.code
main proc
call clrscr
mov esi,offset array
mov ecx,lengthof array
mov edx,offset str1
push esi
putin:
call writestring
標簽:
Please
sdword
number
array
上傳時間:
2014-01-13
上傳用戶:xiaoyunyun
-
CKHash is an implementation of Cuckoo Hashing that can receive the input in
the form of strings directly
標簽:
implementation
the
Hashing
receive
上傳時間:
2013-12-25
上傳用戶:dapangxie
-
CCS編程環境 使用的是匯編加C的混合編程方法:
The programme of the Correlation Algorithm.
Using INT2 to get the input signal.
Array x, in first step, is the input signal produced by programme,
in next step, is the input signal get from A/D,
the length is 128, 32-bit floating point.
Array y, in first step, is the input signal produced by programme,
in next step, is the input signal get from A/D,
the length is 128, 32-bit floating point.
Array cor is the Correlation result, the length is 255, 32-bit floating point.
標簽:
Correlation
Algorithm
programme
the
上傳時間:
2013-12-21
上傳用戶:leixinzhuo