资源描述:
《关键路径问题(课程设计)java》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、关键路径问题关键路径问题摘要关键路径是我们估算某些工程非常有用,是一种非常重要的估算一项工程所需的最短时间的依据。本文对如何求一个工程的关键路径做了详细的说明,包括需求分析、概要设计、详细设计、测试与分析、总结、源程序清单。 首先,做了需求分析,解释了什么是关键路径,并指出它在估算工程中的重要作用。然后给出求关键路径的概要设计,包括程序中用到的所有抽象数据类型的定义,主程序的流程以及各程序模块之间的层次(调用)关系。在概要设计的基础上,又给出了详细的算法设计,实现概要设计中定义的所有函数,对每个函数
2、写出核心算法,并画出了流程图。然后对编码进行了测试与分析(并在最后附上java语言编写的程序代码)。最后对整个设计过程进行了总结。关键词:关键路径;抽象数据类型;程序模块;核心算法;流程图;java。关键路径问题CRITICALPATHPROBLEMABSTRACTThecriticalpathisweestimatesomeworksveryuseful,isaveryimportanttoestimateaprojecttheminimumtimerequired.Thisarticleonho
3、wtoseekaprojectcriticalpathisdescribedindetail,includingneedsanalysis,outlinedesign,detaileddesign,testingandanalysis,summary,sourcelist.Firstofall,thedemandanalysis,toexplainwhatisthecriticalpath,andpointsoutitsimportantroleinestimatingengineering.The
4、ngivenforthecriticalpathoftheoutlinedesign,includingalloftheproceduresusedinthedefinitionofabstractdatatypes,themainprogramflowandtheprogrammodulebetweenthelayers(call)relationship.Inthesummaryofthedesignbasis,andgivesadetailedalgorithmdesign,designout
5、linetoachievethedefinitionofallfunctions,eachfunctiontowritethecorealgorithms,anddrawtheflowchart.Thenthecodingaretestedandanalyzed(andinthefinalwithajavalanguageprogramcode).Thefinaldesignofthewholeprocessaresummarized.Keywords:criticalpath;abstractda
6、tatype;programmodule;thecorealgorithmflowchart;Java.关键路径问题目录第一章绪论…………………………………………………………………………………11.1题目内容与研究意义………………………………………………………………………………11.2题目理解与功能分析………………………………………………………………………………1第二章概要设计…………………………………………………………………………………………32.1设计思路……………………………………………………
7、………………………………………32.2系统模块图…………………………………………………………………………………………3第三章详细设计…………………………………………………………………………………………33.1遇到的问题及解决方法……………………………………………………………………………33.2关键算法分析………………………………………………………………………………………33.3程序使用说明………………………………………………………………………………………73.4测试数据………………………………………
8、……………………………………………………7第四章调试分析及测试…………………………………………………………………………………104.1程序操作与运行……………………………………………………………………………………104.2容错处理……………………………………………………………………………………………114.3再举一例……………………………………………………………………………………………13第四章总结……………………………………………………………………………………………