有限期作业安排问题”描述如下:有n个任务J1,J2,...,Jn,每个任务Ji都有一个完成期限DI,若任务Ji在它的期限DI内完成,则可以获利Ci(1[i[n) 问如何安排使得总的收益最大(假设完成每一个任务所需时间均为一个单位时间).这个问题适合用贪心算法来解决,贪心算法的出发点是每一次都选择利润大的任务来完成以期得到最多的收益 但是对于本问题由于每一个任务都有一个完成的期限,因此在任务安排过程中除了考虑利润Ci外,还要考虑期限DI.
上传时间: 2016-06-27
上传用户:s363994250
AVR单片机中的DI数字量输入处理程序 已成成功使用 欢迎大家下载叫交流
上传时间: 2014-01-18
上传用户:zq70996813
此函数把SPI的读写功能集成在一块,传递的val既是向SPI写的数据,也是从SPI读取的数据,只需要在执行读或写之前把MCU的I/O脚设置成相应的输出或输入即可。(因为在大部分应用中,是把SPI的DI和DO相连并用MCU的一个IO口来读写)。
上传时间: 2013-12-27
上传用户:l254587896
Tim duong DI trong me cung mot thuat toan kha hay
上传时间: 2017-03-05
上传用户:zycidjl
基于单片机的10根线束线缆检测器的源程序 #pragma sfr #pragma DI #pragma EI #pragma NOP //#pragma interrupt INTTM010 isr_INTTM000 #pragma interrupt INTTM80 isr_INTTM80 //#pragma interrupt INTTMH1 isr_INTTMH1 #pragma section @@CNST OPT AT 80H const char OPTION=0x94 typedef unsigned char uchar typedef unsigned int uint //==PORT DEFINE== #define SEND1_P P4.1 #define SEND2_P P4.2 #define SEND3_P P4.3 #define SEND4_P P4.4 #define SEND5_P P4.5 #define SEND6_P P4.6 #define SEND7_P P4.7 #define SEND8_P P13.0 #define SEND9_P P2.3 #define SEND10_P P2.2
标签: pragma interrupt INTTM 010
上传时间: 2017-05-25
上传用户:sunjet
Cisco E-DI supports perl scripting through the CLI. This feature automates many of the server and network administration tasks. This section explains how to enable and DIsable the perl scripting service, and how to use Cisco E-DI Perl API for daily tasks. When a perl script is implemented by an administrator or a user, the script automatically inherits the user s security privileges and the user s operational context (either server or network). Each invocation of a
标签: automates scripting the supports
上传时间: 2017-07-06
上传用户:a673761058
Source ini buat mengetahui grade mahasiswa dari nilai yang DI inputkan oleh user.
标签: mengetahui mahasiswa inputkan Source
上传时间: 2014-01-17
上传用户:虫虫虫虫虫虫
sms program yang bisa DI jalankan dan DIkontrol dari pc lengkap dengan source code dan modul aplikasi nya
标签: dan DIkontrol jalankan program
上传时间: 2017-07-25
上传用户:gxf2016
tracciatore DI mani con webcam
标签: tracciatore webcam mani con
上传时间: 2017-07-31
上传用户:924484786
ini dota DI macasdasdasdasdasdasd
标签: macasdasdasdasdasdasd dota ini DI
上传时间: 2014-01-27
上传用户:miaochun888