报童问题的计算机仿真 %tm一轮实验的预定模拟天数 %t一轮实验的仿真天数累积值 %z订报量 %z 最优订报量 %g订报量z之上界 %s1损失值之累计值 %s最小损失值值 %r按概率分布产生随机售报量样本
上传时间: 2013-12-17
上传用户:dengzb84
Procedure TSPSA: begin init-of-T { T为初始温度} S={1,……,n} {S为初始值} termination=false while termination=false begin for i=1 to L do begin generate(S′form S) { 从当前回路S产生新回路S′} Δt:=f(S′))-f(S) {f(S)为路径总长} IF(Δt<0) OR (EXP(-Δt/T)>Random-of-[0,1]) S=S′ IF the-halt-condition-is-TRUE THEN termination=true End T_lower End End
标签: Procedure init-of-T TSPSA begin
上传时间: 2013-12-20
上传用户:shinesyh
MD5 加 密的V i s u a l C + + S o u r c e C o d e .
标签: MD5
上传时间: 2014-01-04
上传用户:lunshaomo
SimMetrics is a Similarity Metric Library, e.g. from edit distance s (Levenshtein, Gotoh, Jaro etc) to other metrics, (e.g Soundex, Chapman). Work provided by UK Sheffield University funded by (AKT) an IRC sponsored by EPSRC, grant number GR/N15764/01.
标签: e.g. Levenshtein SimMetrics Similarity
上传时间: 2014-01-22
上传用户:cc1
c#web,I can t write any more,that s it a
上传时间: 2014-06-19
上传用户:zsjinju
上下文无关文法(Context-Free Grammar, CFG)是一个4元组G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一组有限的产生式规则集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素称为非终结符,T的元素称为终结符,S是一个特殊的非终结符,称为文法开始符。 设G=(V, T, S, P)是一个CFG,则G产生的语言是所有可由G产生的字符串组成的集合,即L(G)={x∈T* | Sx}。一个语言L是上下文无关语言(Context-Free Language, CFL),当且仅当存在一个CFG G,使得L=L(G)。 *⇒ 例如,设文法G:S→AB A→aA|a B→bB|b 则L(G)={a^nb^m | n,m>=1} 其中非终结符都是大写字母,开始符都是S,终结符都是小写字母。
标签: Context-Free Grammar CFG
上传时间: 2013-12-10
上传用户:gaojiao1999
DOS下查看磁盘扇区的程序, 按A,S,D,W,控制CHS增减,按E, 输入CHS值,按Q,结束.
上传时间: 2013-12-24
上传用户:tonyshao
function [sys,x0,str,ts] = csfunc(t,x,u,flag) % 定义一个连续系统的 S-function
标签: S-function function csfunc flag
上传时间: 2014-01-24
上传用户:362279997
编写函数int index返回字符t在字条串s中出现的最左边的位置,如果在s中没有与t匹配的子串,不返回-1
上传时间: 2015-11-15
上传用户:dapangxie
It s time for web servers to handle ten thousand clients simultaneously, don t you think? After all, the web is a big place now
标签: simultaneously thousand clients servers
上传时间: 2013-12-30
上传用户:wlcaption