A heap is a binary tree satisfying the following conditions: This tree is completely balanced. If the height of this binary tree is h, then leaves can be at level h or level h-1. All leaves at level h are as far to the left as possible. The data associated with all descendants of a node are smaller than the datum associated with this node.
标签: tree conditions completely satisfying
上传时间: 2014-01-01
上传用户:gundan
Have you ever seen players eyes light up as they explore the worlds that you ve created in your games? If you have, then game development probably has you hooked firmly in its grasp! If you ve never taken your games beyond the PC, now s the time! "J2ME Game Programming" is a hands-on guide that teaches you how to create games for micro-devices. You ll be amazed at just how cool the games you create can look and play. Focusing primarily on mobile phone game creation, you ll jump right in and create your own games as you work your way through the book. The thought has surely crossed your mind that it would be nice to make some money off of this cool hobby of yours. J2ME offers real opportunity to profit from your games. Learn how you can earn revenue from your games by taking them to market. If you have a basic understanding of Java, then you re ready to explore all that "J2ME Game Programming" has to offer!
标签: you created players explore
上传时间: 2017-02-25
上传用户:lanhuaying
自己写的robocup-2d程序,从UVA改编 This method is the first complete simple team and defines the actions taken by all the players on the field (excluding the goalie). It is based on the high-level actions taken by the simple team FC Portugal that it released in 2000.
上传时间: 2014-01-27
上传用户:上善若水
It is an embedded C program written to control ADC0832 with MCU P89V51RD2. There are R/W function. All code are proven to be worked.
标签: embedded function control program
上传时间: 2014-01-18
上传用户:wfl_yy
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, exp, square root and even multiply and divide. the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972. here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need add/subtract and shift to complete the implementation. you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
标签: essentially algorithm describe suitably
上传时间: 2017-03-02
上传用户:litianchu
RTOS ThreadX Real-Time Embedded Multithreading: Using ThreadX and ARM Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where CMP is aware of a trademark claim, the product name appears in initial capital letters, in all capital letters, or in accordance with the vendor鈥檚 capitalization preference. Readers should contact the appropriate companies for more complete information on trademarks and trademark registrations. All trademarks and registered trademarks in this book are the property of their respective holders.
标签: ThreadX Multithreading Designations Real-Time
上传时间: 2013-12-18
上传用户:ZJX5201314
learning English The following appeared in a memorandum written by the vice president of Nature s Way, a chain of stores selling health food and other health-related products. "Previous experience has shown that our stores are most profitable in areas where residents are highly concerned with leading healthy lives. We should therefore build our next new store in Plainsville, which has many such residents. Plainsville merchants report that sales of running shoes and exercise clothing are at all-time highs. The local health club, which nearly closed five years ago due to lack of business, has more members than ever, and the weight training and aerobics classes are always full. We can even anticipate a new generation of customers: Plainsville s schoolchildren are required to participate in a fitness for life program, which emphasizes the benefits of regular exercise at an early age.
标签: memorandum following president learning
上传时间: 2017-03-06
上传用户:youth25
Windows Mobile NLED driver proxy. Created for customization of incoming call ring vibration. While original Windows Mobile ring vibration constant vibrating during all ring, this driver help to apply any user vibrating pattern.
标签: customization vibration incoming Windows
上传时间: 2017-03-07
上传用户:498732662
Genetic Algorithm example using Java You have 10 cards numbered 1 to 10. You have to divide them into 2 piles so that: The sum of the first pile is as close as possible to 36 and the product of all in second pile is as close as poss to 360.
标签: have Algorithm You numbered
上传时间: 2017-03-08
上传用户:lacsx
This is GPS Acquisition..by Matlab, this file performs cold start acquisition on the collected "data". It searches for GPS signals of all satellites, which are listed in field "acqSatelliteList" in the settings structure. Function saves code phase and frequency of the detected signals in the "acqResults" structure.
标签: Acquisition acquisition collected performs
上传时间: 2013-12-28
上传用户:wxhwjf