(1)輸入E條弧<j,k>,建立AOE-網(wǎng)的存儲(chǔ)結(jié)構(gòu) (2)從源點(diǎn)v出發(fā),令ve[0]=0,按拓?fù)渑判蚯笃溆喔黜?xiàng)頂點(diǎn)的最早發(fā)生時(shí)間ve[i](1<=i<=n-1).如果得到的拓樸有序序列中頂點(diǎn)個(gè)數(shù)小于網(wǎng)中頂點(diǎn)數(shù)n,則說明網(wǎng)中存在環(huán),不能求關(guān)鍵路徑,算法終止 否則執(zhí)行步驟(3)(3)從匯點(diǎn)v出發(fā),令vl[n-1]=ve[n-1],按逆拓樸排序求其余各頂點(diǎn)的最遲發(fā)生時(shí)間vl[i](n-2>=i>=2). (4)根據(jù)各頂點(diǎn)的ve和vl值,求每條弧s的最早發(fā)生時(shí)間e(s)和最遲開始時(shí)間l(s).若某條弧滿足條件e(s)=l(s),則為關(guān)鍵活動(dòng).
上傳時(shí)間: 2014-11-28
上傳用戶:fredguo
一個(gè)用于數(shù)學(xué)函數(shù)值計(jì)算的c函數(shù),求任意數(shù)學(xué)函數(shù)f(x)和f(x,y)的值
標(biāo)簽: 數(shù)學(xué)函數(shù) c函數(shù) 計(jì)算
上傳時(shí)間: 2015-03-18
上傳用戶:zhangyigenius
Introduction to the Transport Device Interface-f
標(biāo)簽: Introduction Interface-f Transport Device
上傳時(shí)間: 2015-03-18
上傳用戶:gundamwzc
這是一個(gè)轉(zhuǎn)為i/o卡開發(fā)得驅(qū)動(dòng)程序,配接得是俄華通得組態(tài)軟件
標(biāo)簽: 驅(qū)動(dòng)程序
上傳時(shí)間: 2013-12-30
上傳用戶:zhuimenghuadie
線性表元素刪除運(yùn)算,刪除線性表L中第i個(gè)位置上的元素
上傳時(shí)間: 2015-03-19
上傳用戶:宋桃子
本 程序能夠?qū)崿F(xiàn)一般sa f編輯器的功能,類似與notebook
上傳時(shí)間: 2014-12-02
上傳用戶:開懷常笑
這是非常有挑戰(zhàn)性的題目。對(duì)于用戶輸入的任意一個(gè)平面函數(shù)f(x),繪制出其函數(shù)曲線。這里最關(guān)鍵的技術(shù)難點(diǎn)就是如何實(shí)現(xiàn)計(jì)算表達(dá)式的值。在《編譯原理》和《數(shù)據(jù)結(jié)構(gòu)》的書中,都有對(duì)表達(dá)式運(yùn)算方法的論述。說實(shí)在的,在編譯型計(jì)算機(jī)語言中實(shí)現(xiàn)對(duì)用戶輸入表達(dá)式的運(yùn)算是非常困難的。需要對(duì)表達(dá)式進(jìn)行掃描,去括號(hào),按照運(yùn)算符的優(yōu)先級(jí)生成2叉樹,然后遍歷該樹生成逆波蘭表達(dá)式,再然后通過棧的方法進(jìn)行運(yùn)算。如果在表達(dá)式中再包含有函數(shù)的話......描述起來都麻煩,更不要說用程序?qū)崿F(xiàn)了:-(
上傳時(shí)間: 2014-08-07
上傳用戶:1159797854
I2C控制核設(shè)計(jì),由VHDL語言編寫,使普通I/O端口實(shí)現(xiàn)I2C性能
上傳時(shí)間: 2013-12-13
上傳用戶:kiklkook
Java I/O API之性能分析 IO API的可伸縮性對(duì)Web應(yīng)用有著極其重要的意義。Java 1.4版以前的API中,阻塞I/O令許多人失望。從J2SE 1.4版本開始,Java終于有了可伸縮的I/O API。本文分析并計(jì)算了新舊I/O API在可伸縮性方面的差異。
上傳時(shí)間: 2014-09-04
上傳用戶:zxc23456789
Overview In this chapter I introduce Borland C++Builder (BCB) and explain what it is about. I also devote considerable time to explaining the purpose of this book and the philosophy behind my approach to technical writing. Technical subjects covered in this chapter include Creating a simple Multimedia RAD program that plays movies, WAV files, and MIDI files. Shutting down the BCB RAD programming tools and writing raw Windows API code instead. Creating components dynamically on the heap at runtime. Setting up event handlers (closures) dynamically at runtime. A brief introduction to using exceptions. This topic is covered in more depth in Chapter 5, "Exceptions." A brief introduction to ANSI strings. This subject is covered in more depth in Chapter 3, "C++Builder and the VCL." Using the online help. Greping through the include and source files that come with the product and with this book.
標(biāo)簽: introduce Overview Borland Builder
上傳時(shí)間: 2014-01-04
上傳用戶:小鵬
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1