We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
對應論文寫的時空碼的仿真程序。為2天線,BPSK調制模式。自己寫的Space time code simulation提供給大家
上傳時間: 2014-01-27
上傳用戶:Shaikh
μC/OS-II Goals Probably the most important goal of μC/OS-II was to make it backward compatible with μC/OS (at least from an application’s standpoint). A μC/OS port might need to be modified to work with μC/OS-II but at least, the application code should require only minor changes (if any). Also, because μC/OS-II is based on the same core as μC/OS, it is just as reliable. I added conditional compilation to allow you to further reduce the amount of RAM (i.e. data space) needed by μC/OS-II. This is especially useful when you have resource limited products. I also added the feature described in the previous section and cleaned up the code. Where the book is concerned, I wanted to clarify some of the concepts described in the first edition and provide additional explanations about how μC/OS-II works. I had numerous requests about doing a chapter on how to port μC/OS and thus, such a chapter has been included in this book for μC/OS-II.
標簽: OS-II compatible important Probably
上傳時間: 2013-12-02
上傳用戶:jkhjkh1982
State_space_reconstruction_parameters_in_the_analysis_of_chaotic_time_series_-_the_role_of_the_time_window_length. It is used for reconstruction of state space in chaotic time series, and also how to determine time window.
標簽: State_space_reconstruction_parame ters_in_the_analysis_of_chaotic_t the_role_of_
上傳時間: 2013-12-21
上傳用戶:fandeshun
Nonlinear_dynamics_delay_times_and_embedding_windows. How to determine embedded window for chaotic state space of time series
標簽: Nonlinear_dynamics_delay_times_an d_embedding_windows determine embedded
上傳時間: 2016-02-21
上傳用戶:tianyi223
The first task at hand is to set up the endpoints appropriately for this example. The following code switches the CPU clock speed to 48 MHz (since at power-on default it is 12 MHz), and sets up EP2 as a Bulk OUT endpoint, 4x buffered of size 512, and EP6 as a Bulk IN endpoint, also 4x buffered of size 512. This set-up utilizes the maximum allotted 4-KB FIFO space. It also sets up the FIFOs for manual mode, word-wide operation, and goes through a FIFO reset and arming sequence to ensure that they are ready for data operations
標簽: appropriately The endpoints following
上傳時間: 2013-12-02
上傳用戶:dianxin61
我用matlab寫的一個corner detector, 效果比現在流行的harris,susan,CSS等效果要好。 Algorithm is derived from: X.C. He and N.H.C. Yung, Curvature Scale Space Corner Detector with Adaptive Threshold and Dynamic Region of Support , Proceedings of the 17th International Conference on Pattern Recognition, 2:791-794, August 2004. Improved algorithm has been included in A Corner Detector based on Global and Local Curvature Properties and submitted to Optical Engineering.
標簽: detector matlab corner harris
上傳時間: 2013-12-30
上傳用戶:569342831
This program simulates the bit-error-rate (BER) performance of OSTBC with L=4 antennas over the frequency flat Rayleigh block fading channel The code is developed for real orthogonal design, code rate 1/2 modulation- 16 QAM with gray coding resulting in 2 bits/sec/Hz.
標簽: bit-error-rate performance simulates the
上傳時間: 2014-01-13
上傳用戶:whenfly
This project aim was to build wireless software modem for data communication between two computers using an acoustic interface in the voice frequency range (20Hz– 20,000Hz). The transmitting antenna is a speaker (frequency response of: 90Hz – 20,000Hz) and the receiving antenna is a microphone (frequency response of: 100Hz – 16,000Hz). The test files used as information files were text files. This goal was attained both in an incoherent scheme and in a coherent scheme. Build under Matlab code, our modem uses OFDM (orthogonal frequency division multiplexing) modulation, synchronization by LMS sequence, channel estimation (no equalizer) via pilot tones. The symbols are either PSK or ASK for a constellation size of 2 or 4. To optimize the probability of error, these symbols were mapped using Gray mapping. Report
標簽: communication computers software wireless
上傳時間: 2014-05-29
上傳用戶:wangdean1101
功能說明: 一個方便的文字程序,可以快速刪除整段文字之中多余的空白(space)。 操作說明: 1.復制貼上文字之后,再點按[吃空白]鈕,會刪除文字中所有的空白(space)。 2.刪除之后并會更新,并告知您所刪除的空白(space)字數。
標簽: 程序
上傳時間: 2013-12-22
上傳用戶:tonyshao