The program md.f implements a simple molecular dynamics simulation in continuous real space. The velocity Verlet algorithm is used to implement the time stepping. The force and energy computations are performed in parallel, as is the time integration. (The program uses some Fortran90 features, so an F90 compiler may be needed.)
標簽: implements continuous simulation The
上傳時間: 2016-04-03
上傳用戶:zhaiye
Hybrid Monte Carlo sampling.SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo algorithm to sample from the distribution P ~ EXP(-F), where F is the first argument to HMC. The Markov chain starts at the point X, and the function GRADF is the gradient of the `energy function F.
標簽: Carlo Monte algorithm sampling
上傳時間: 2013-12-02
上傳用戶:jkhjkh1982
實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數據信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
用匯編語言來使鍵盤成為一個演奏音樂的電子琴。高音依次1,2,3,4,5,6,7 。中音依次為q,w,e,r,t,y,u 。低音依次為a,s,d,f,g,h,j
上傳時間: 2013-12-17
上傳用戶:wangdean1101
This demonstration models a flight control for the longitudinal motion of a Grumman Aerospace F-14 Tomcat. First order linear approximations of the aircraft and actuator behavior are connected to an analog flight control design that uses the pilot s stick pitch command as the set point for the aircraft s pitch attitude and uses aircraft pitch angle and pitch rate to determine commands. A simplified Dryden wind gust model is incorporated to perturb the system.
標簽: demonstration longitudinal Aerospace Grumman
上傳時間: 2016-05-17
上傳用戶:wang5829
A*算法屬于一種啟發式搜索,它擴展結點的次序類似于廣度優先搜索,但不同的是每生成一個子結點需要計算估價函數F,以估算起始結點的約束經過該結點至達目標結點的最佳路徑代價 每當擴展結點時,意是在所有待擴展結點中選擇具有最小F值的結點做為擴展對象,以便使搜索盡量沿最有希望的方向進行.A*算法只要求產生問題的全部狀態空間的部分結點及關系,就可以求解問題了,搜索效率較高
上傳時間: 2016-06-01
上傳用戶:lz4v4
Let the following relational tables be given: R = (A, B, C) and S = (D, E, F) where A, B, C, D, E, and F are the attributes (columns). Write the SQL statements that will express each of the queries given below:
標簽: relational following tables given
上傳時間: 2014-01-14
上傳用戶:cx111111
%調用格式 =trapez_g( f_name ,a,b,n) %f_name: 被積函數的文件名f(x) % a:x的上限 % b:x的下限 % 部分區間數 %實例:trapez_g( sin ,0,pi,20)
上傳時間: 2013-12-19
上傳用戶:cjl42111
坦克大戰小游戲 控制說明: 玩家1相關控制: A/W/S/D:控制方向 F:開火 1 :玩家1復活 玩家2相關控制: UP/LEFT/RIGHT/DOWN:控制方向 0 :開火 2 :玩家2復活 ESC:返回Menu ENTER:任務完成/失敗后的確認按鍵 功能說明: 將敵方坦克消滅完則任務完成,進入下一關,每過1關,障礙物減少1個,電腦 坦克總數增加5輛,一次出現最多的電腦坦克數目增加1. 我方坦克被消滅完則任務失敗,任務從第一關重新開始. 擊毀一輛紅色坦克,會產生一個寶物,獲取后可以根據寶物的類型完成相應 的功能. 寶物功能描述: 1.獎勵玩家一輛坦克 2.炸毀當前顯示的所有敵方坦克 3.所有敵方坦克被暫停運動和開火,持續10秒 4.玩家坦克處于無敵狀態,持續15秒 具備多玩家游戲的功能,目前暫定最多支持2人游戲,按1,2,若相應玩家坦克 已全部被摧毀,則復活該玩家的坦克,并設定該玩家坦克數量為3,總分清0. 其它說明: 作者:朱波 QQ:443581450 Email:kyozb2004@yahoo.com.cn
上傳時間: 2016-07-14
上傳用戶:小草123
GA求最大值f=ab-bc+ac+c并顯示出a,b,c
上傳時間: 2013-12-21
上傳用戶:qb1993225