合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        CS 520代寫、代做Java語(yǔ)言程序
        CS 520代寫、代做Java語(yǔ)言程序

        時(shí)間:2024-10-17  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        CS 520: Introduction to Operating Systems 
        Homework Assignment #3 
         
        This assignment is somewhat open-ended—start working on it as soon as you can! 
         
        A reminder: You may work in groups; however, you may not show anyone your 
        code or copy of any part of anyone else’s code or report. 
         Those who submit isomorphic programs or same reports, get 0 points each as a 
        minimum. (For the rest of the penalties please check the Syllabus.) 
         
        I recommend that you write everything in small—no longer than one-page-long—
        methods and test each method separately. Start by testing your pseudo-random 
        variable package and check the distributions to ensure that everything works. 
        Include this test in a separate method. 
         
        Then prepare and test the event data structure. You must keep events in a heap—this 
        is exactly why this structure was developed. The good news is that you may use the 
        Java library. 
         
         After that, writing and debugging the rest of the program will be straight-forward. I 
        recommend that you finish the program in the first week and spend the second week 
        on experimenting and writing the report. 
         
        As a minimum, a program must be written and a report prepared with the specific 
        questions answered, but there is much room for using your creativity—please use it! The 
        most important thing that you will have learned from this assignment is the discreet 
        simulation technique, which you will apply (by re-using most of the code you develop to 
        deal with this particular problem) later. 
        Write the bus simulation, as explained in the class and described in the notes. Feel free to 
        look on the web for and then re-use any suitable code for the random number generator or 
        for linked list algorithms. With that, 1) don’t forget to include a reference to the source 
        of any code you re-use and 3) remember to test all re-used code as you are the only one 
        responsible for its performance.. 
        The purpose of the simulation is to observe the behavior of the system, and answer the 
        following questions: 
        1. Does the distance between the adjacent buses remain the same? If not, what 
        should be done to ensure that it be the same? 
        2. What is the average size of a waiting queue at each stop (and what are its 
        maximum and minimum)? (You may provide this information on an hourly [simulation 
        time] base.)  2 
        Plot the positions of buses as a function of time (you will need to generate periodic 
        snapshots of the system for that). Feel free to change parameters; then observe and 
        document the results. 
        What you hand in must include 
        1. Your working Java program (it must be well-commented) as well as all required 
        input files in the txt format. 
        2. A README txt file explaining what you are submitting. 
        3. Your report, in the PDF format, including plots, observations, and—especially—
        your recommendations for change in the scheduling policies. Needless, to say you 
        will need runs that demonstrate that your recommendations solve the problems 
        you observe. Remember that preparing a report is an essential part of this 
        assignment; this is not merely a programming exercise. The program must 
        be working (or the assignment will get a grade of 0), but the quality of your 
        report will determine your grade. 
         
        Feel free to change the simulation parameters. My initial suggestion is that there are 
         
        • 15 bus stops 
        • 5 buses 
        • The time to drive between any two contiguous stops is 5 minutes 
        • The passenger’s mean arrival rate at each stop is 5 persons/min 
        • The boarding time is 2 seconds for each passenger 
        • The total simulation time is 8 hours. 
         
        Make sure you start this project as early as possible so that you have enough time to run 
        experiments and prepare a comprehensive report. (100 points) 
         
        請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



         

        掃一掃在手機(jī)打開當(dāng)前頁(yè)
      1. 上一篇:解決網(wǎng)癮、叛逆、厭學(xué)等問題,安康弘毅矯正教育青少年行為矯正學(xué)校提供全方位支持
      2. 下一篇:代做ENG5027、代寫Python編程設(shè)計(jì)
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        出評(píng) 開團(tuán)工具
        出評(píng) 開團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)400(全國(guó)服務(wù)熱線)
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
      4. 上海廠房出租 短信驗(yàn)證碼 酒店vi設(shè)計(jì)

        主站蜘蛛池模板: 波多野结衣AV一区二区三区中文| 色妞色视频一区二区三区四区 | 人妻少妇一区二区三区| 日韩毛片基地一区二区三区| 在线观看免费视频一区| 国产欧美一区二区精品仙草咪| 人妻天天爽夜夜爽一区二区| 国产99精品一区二区三区免费 | 高清国产精品人妻一区二区| 国产乱码精品一区三上| 无码日韩精品一区二区免费| 78成人精品电影在线播放日韩精品电影一区亚洲| 日韩精品福利视频一区二区三区| 极品人妻少妇一区二区三区 | 精品一区狼人国产在线| 一区二区三区无码被窝影院| 国产av夜夜欢一区二区三区| 亚洲大尺度无码无码专线一区| 亚洲一区二区三区亚瑟 | 区三区激情福利综合中文字幕在线一区亚洲视频1| 伊人久久一区二区三区无码| 五月婷婷一区二区| 亚洲欧美日韩国产精品一区| 无码人妻精品一区二区三区久久久 | 久久精品动漫一区二区三区| 国产一区二区三区在线2021| 亚洲色无码一区二区三区| 蜜桃传媒视频麻豆第一区| 国产高清不卡一区二区| 亚洲一区二区三区免费观看| 精品人妻无码一区二区三区蜜桃一 | 色一情一乱一区二区三区啪啪高| 亚洲AV成人一区二区三区观看 | 亚洲国产精品一区二区三区在线观看 | 久久精品一区二区东京热| 亚洲午夜电影一区二区三区| 亚洲欧美国产国产综合一区| 国产成人精品亚洲一区| 精品久久国产一区二区三区香蕉| 好看的电影网站亚洲一区| 亚洲综合色一区二区三区|