日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫CS2910、代做c/c++語言程序

時間:2024-02-19  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CS2910 Assessed Coursework 2
v2.0
This assignment must be submitted by 10am on the 8th of March 2024.
Feedback will be provided by 11th April 2024.
1 Learning outcomes assessed
This assignment assesses knowledge and understanding of finding paths using uninformed
search implemented in Prolog. In particular, the outcomes assessed are:-
• knowledge and understanding of uninformed search strategies such as depth-first search;
• application of uninformed search strategies to search problems represented as trees and
graphs;
• implementation of uninformed search strategies in Prolog;
• extensions of uninformed search strategies with a cost weighting.
2 Instructions
Submit this coursework using Moodle by clicking here. Your submission should consist of a
cs2910.zip file, compressing a file named cs2910CW2.pl, containing all parts of the coursework.
It is your responsibility to check that the submitted file:
1. is named correctly;
2. has no syntax errors;
3. runs with SWI Prolog 7.6+;
4. is not empty; and
5. is not corrupted.
1
Warning: If any of the above conditions (1...5) is violated, your mark will be set to 0.
You will be given an opportunity to resubmit for feedback purposes but the marks will
not count for assessment. Submission after the deadline will be accepted but it will automatically be recorded as being late and is subject to College Regulations on late submissions.
NOTE:
All the work you submit should be solely your own work. Coursework submissions
are routinely checked for this. Any assessment offence will be investigated subject to
the College regulations.
2
3 Searching using Prolog
3.1 Finding a path
Consider the plan of a house as shown in Fig. 1. Write a Prolog description of this plan
that allows a Prolog program search for paths between locations indicated on the plan. For
example, if one is Outside and wishes to find a path to the WC, then a possible answer can
be: Outside → Porch 1 → Kitchen → Leaving Room → Corridor → WC. Your program should
Figure 1: Top view of a two bedroom house showing how different locations in and out of
the house are connected.
avoid loops and be as general as possible, in that, given any two locations representing an
origin O and a destination D, it returns:
• a path P from O to D, if it exists;
• every possible path P from O to D, if there are more than one;
• meaningful error messages, if the wrong input is provided for O and D.
Comment the code submitted for this part to contain the name of the search algorithm that
you selected to find the path. [40%]
3.2 Paths ending at a common destination
Define a Prolog program that searches bi-directionally from two origins O1 and O2 to meet
up at a common destination D. It is up to you how you define that, perhaps by reusing parts
of the program you developed for section 3.1, however this time you do not have to check that
3
the input parameters are correct, simply assume they are. Your program should combine a
path P1 from O1 to D, with a path P2 from O2 to D, if they exist, to produce a combined path
P, showing how you reach meeting point D from O1 and O2 respectively. You are expected
to produce all possible combinations P1 and P2 to construct P non-deterministically, if we
ask for more answers. Test your program using Fig. 1 by asking different queries and see
whether your work produces the expected outcomes. Maximum marks will be obtained
for also providing a program that returns only the shortest paths P1 and P2 combined to
produce P. [30%]
3.3 Paths with Costs
Rewrite the problem description for the program you defined in section 3.1, to include the
individual cost C (an integer describing the distance in meters) between locations of the
house as shown in Fig. 2. Once you have a new representation that takes individual cost
between locations into account, rewrite also you search program to calculate the total cost
of a path, so that when you return a path P as a solution, you also return Ctotal. Your new
program should also return every path, if there is more than one, returning the cheap ones
first, and then the more expensive ones, in rank order. Then use your new program to define
how to meet up from two origins O1 and O2 to a destination D (as in 3.2), only if the cost
Ctotal is the same from both O1 and O2 respectively.
Figure 2: Cost between locations.
Test your program using Fig. 1 by asking different queries and see whether your work produces the expected outcomes. [30%]
4
Marking criteria
• Full marks will be given for implementations that address the requirements of all the
tasks and their sub-tasks as specified in this document.
• Marks will be allocated to the logic of the implementation strategies proposed as well
as their implementation .
• Marks will also be allocated in solutions which show understanding of Prolog unification, especially on the use of lists, the use of existing primitives that manipulate and
generate lists (like append/3, findall/3 or setof/3), including the relevance of all
these to the specific search requirements.
• Code quality: indentation, comments, variable naming, use of ‘ ’ variables, and appropriate use of Prolog control operators (e.g. the cut operator (!)).
• It is expected that the files you will submit are created using Linux and not
Windows, as the marking will be done on a Linux machine. The code should run
in SWI Prolog version installed on linux.cim.rhul.ac.uk. Implementations in any
other Prolog or programming language will not be accepted.
• Your code should compile successfully for full marks. If part of your code does not
compile, then wrap it in a comment of the form:
/* Partial Code:
....
End of Partial Code */
and we will try to mark any logic that is relevant to the required task.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:代寫Business Decision Analytics
  • 下一篇:代做CS 532、Collaboration 代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        久久久噜噜噜久久中文字免| 欧美激情区在线播放| 99综合电影在线视频| 美女精品国产| 欧美日韩 国产精品| 一区免费观看| 亚洲裸体在线观看| 亚洲一区二区精品在线观看| 欧美国产精品va在线观看| 亚洲欧美影院| 亚洲专区欧美专区| 国产日韩一区二区三区在线播放| 99热免费精品| 国产精品一区二区久激情瑜伽| 久久午夜国产精品| 欧美韩日视频| 亚洲美女黄色| 久久一区二区精品| 国产精品入口66mio| 亚洲影视中文字幕| 国产亚洲精品久久久久动| 亚洲狼人综合| 欧美一区久久| 亚洲国产成人午夜在线一区| 亚洲视频 欧洲视频| 麻豆9191精品国产| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美性视频网站| 另类天堂av| 久久久久久久久久久久久女国产乱| 久久久久久婷| 国产日韩av高清| 欧美日韩国产另类不卡| 国产一区二区中文| 欧美日韩二区三区| 欧美主播一区二区三区| 性欧美激情精品| 欧美日韩综合视频网址| 久久综合九色综合久99| 国产精品v片在线观看不卡| 午夜久久久久| 日韩午夜在线播放| av72成人在线| 国产偷国产偷亚洲高清97cao| 久久精品亚洲一区二区三区浴池| 国产精品videossex久久发布| 亚洲一区二区视频在线观看| 久久久久久91香蕉国产| 国产亚洲视频在线| 亚洲精品中文字| 久久精品视频在线播放| 亚洲精品一区二区三区在线观看| 久久久国产视频91| 国产欧美日韩不卡| 精品成人a区在线观看| 国产日韩高清一区二区三区在线| 精品不卡一区二区三区| 欧美午夜不卡视频| 99re6热在线精品视频播放速度| 免费看的黄色欧美网站| 久久久欧美一区二区| 午夜一区在线| 日韩午夜在线电影| 欧美精品久久久久久久免费观看| 一区二区三区在线免费视频| 亚洲影院在线观看| 亚洲电影视频在线| 亚洲精品一区二区三区福利| 日韩视频在线免费观看| 欧美体内she精视频在线观看| 黄色精品在线看| 亚洲综合色婷婷| 嫩草国产精品入口| 麻豆成人在线| 亚洲国内精品在线| 亚洲精品偷拍| 亚洲美女诱惑| 国产啪精品视频| 性18欧美另类| 久久综合久久美利坚合众国| 国产精品久久久久av免费| 亚洲一区免费视频| 欧美久久视频| 国产精品视频在线观看| 欧美日韩精品一区二区天天拍小说| 开心色5月久久精品| 久久一综合视频| 欧美三级特黄| 欧美中文字幕第一页| 久久久久久成人| 久久精品一区中文字幕| 欧美成人小视频| 国产精品v欧美精品∨日韩| 亚洲自拍啪啪| 欧美视频一区二区三区| 91久久综合亚洲鲁鲁五月天| 久久蜜桃精品| 黄色成人av| 夜夜嗨av色一区二区不卡| 亚洲在线视频观看| 欧美不卡在线| 亚洲一二区在线| 99国产精品99久久久久久| 国产在线精品二区| 国产一区二区三区高清在线观看| 亚洲黑丝一区二区| 欧美午夜影院| 免费久久精品视频| 日韩视频在线一区二区| 99精品视频一区二区三区| 久久全国免费视频| 欧美日韩免费区域视频在线观看| 亚洲大胆视频| 国产一区二区三区日韩欧美| 欧美日韩精品一本二本三本| 欧美日韩系列| 日韩视频在线一区| 免费在线欧美视频| 永久久久久久| 91久久久亚洲精品| 亚洲精品免费观看| 国产精品亚洲一区二区三区在线| 欧美日韩国产不卡| 国语自产精品视频在线看| 在线国产欧美| 日韩一级免费观看| 久久se精品一区精品二区| 欧美国产在线电影| 黄色精品一区| 亚洲欧美在线免费| 国产精品一区久久久| 91久久在线播放| 一区二区欧美国产| 亚洲男人第一网站| 久久人人爽人人爽爽久久| 另类av一区二区| 国产美女精品视频免费观看| 国产一区二区你懂的| 雨宫琴音一区二区在线| 欧美不卡高清| 亚洲午夜久久久| 欧美日韩dvd在线观看| 亚洲国产一区二区视频| 亚洲欧美日韩成人| 欧美日韩日韩| 夜夜嗨av色一区二区不卡| 国产日韩欧美中文在线播放| 国产精品一二| 欧美日韩精品伦理作品在线免费观看| 欧美日本高清视频| 国产一区二区三区无遮挡| 国产精品久久久久久av福利软件| 欧美日韩专区在线| 欧美一区二区三区在线免费观看| 欧美日韩一区二区免费在线观看| 亚洲欧洲日韩在线| 久久久久久久波多野高潮日日| 欧美日韩和欧美的一区二区| 免费视频一区二区三区在线观看| 久久久久久欧美| 亚洲永久免费av| 欧美成人精品高清在线播放| 欧美日产一区二区三区在线观看| 一本色道久久综合一区|