软件工程Ch11.ppt
《软件工程Ch11.ppt》由会员分享,可在线阅读,更多相关《软件工程Ch11.ppt(24页珍藏版)》请在第壹文秘上搜索。
1、123PrintJobcom puteJobinitiateJobnum berO fPages num berO fSi des paperType paperW ei ght paperSi ze paperC ol or m agni fi cati on col orRequi rem ents producti onFeatures col l ati onO pti ons bi ndi ngO pti ons coverStock bl eed pri ori ty total JobC ost W O num ber Pri ntJobcom putePageC ost ()
2、com putePaperC ost () com puteProdC ost () com puteTotal JobC ost () bui l dW orkO rder() checkPri ori ty () passJobto Producti on() el aborated desi gn cl ass co m p u teJo bcom putePageC ost () com putePaperC ost () com puteProdC ost () com puteTotal JobC ost () i n i ti ateJo bbui l dW orkO rder(
3、) checkPri ori ty () passJobto Producti on()design com ponentnum berO fPages num berO fSides paperType m agnification productionFeaturesPrintJobcom puteJobCost() passJobtoPrinter() analysis class4Com putePageCostdesi gn com ponentaccessCostsDBgetJobDatael aborated m odul ePageCosti n: job si ze i n:
4、 col or=1, 2, 3, 4 i n: pageSi ze = A, B, C, B out: BPC out: SF i n: num berPages i n: num berDocs i n: si des= 1, 2 i n: col or=1, 2, 3, 4 i n: page si ze = A, B, C, B out: page cost job si ze (JS) = num berPages * num berDocs;l ookup base page cost (BPC) - accessCostsDB (JS, col or); l ookup si ze
5、 factor ( SF) - accessCostDB (JS, col or, si ze) job com pl exi ty factor (JCF) = 1 + (si des-1)*si deCost + SFpagecost = BPC * JCF getJobData (num berPages, num berDocs, si des, col or, pageSi ze, pageCost)accessCostsDB (jobSi ze, col or, pageSi ze, BPC, SF)com putePageCost ()5 (共同利用原则:不一起利用的类不放在一个
6、分组内)67These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 20058These courseware materials are to be used in conjunction with Software Engineering:
7、 A Practitioners Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 20059These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 6/e and are provided with permission by R.S. Pressman & Associ
8、ates, Inc., copyright 1996, 2001, 200510These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001, 200511: ProductionJob: WorkOrder:JobQueue1: buildJob (
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 软件工程 Ch11