日韩精品一区二区三区高清_久久国产热这里只有精品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 代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
  • 短信驗證碼 豆包網頁版入口 目錄網 排行網

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

    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>
        在线播放中文一区| 亚洲视频免费看| 欧美在线观看视频在线| 久久婷婷蜜乳一本欲蜜臀| 亚洲风情亚aⅴ在线发布| 亚洲精品乱码久久久久久| 欧美激情亚洲精品| 久久精品99久久香蕉国产色戒| 国产精品女人久久久久久| 国产精品美女诱惑| 国产精品视频九色porn| 国产精品亚洲аv天堂网| 欧美成人免费va影院高清| 欧美一区二区三区视频在线| 国产精品久久久久国产精品日日| 久久精品九九| 日韩一级网站| 国产精品久久久久毛片软件| 国产精品久久久久久久久| 在线视频亚洲欧美| 亚洲一区二区毛片| 国产精品a久久久久| 亚洲欧洲在线视频| 欧美人成免费网站| 亚洲精品国产精品乱码不99按摩| 国产欧美激情| 亚洲精品国产精品国自产观看浪潮| 在线精品福利| 极品日韩av| 欧美激情一区在线观看| 欧美亚洲一区二区在线观看| 免费欧美高清视频| 久久午夜羞羞影院免费观看| 欧美成人免费网站| 午夜精品视频在线观看| 国产精品视频你懂的| 亚洲精品视频在线观看免费| 蜜桃av噜噜一区| 久久精品欧美| 欧美区日韩区| 国产精品热久久久久夜色精品三区| 在线亚洲免费| 久久久久久久一区二区三区| 欧美日韩国产经典色站一区二区三区| 亚洲欧美资源在线| 亚洲国产成人在线| 午夜精品久久一牛影视| 欧美国产国产综合| 国产在线精品一区二区中文| 亚洲裸体在线观看| 欧美理论片在线观看| 国产精品久久久亚洲一区| 欧美sm视频| 国产精品五月天| 永久免费视频成人| 国产伦精品一区二区三区在线观看| 国内精品久久久久影院色| 性色一区二区| 激情成人中文字幕| 久久精品2019中文字幕| 国产精品啊啊啊| 国产一在线精品一区在线观看| 国产乱码精品一区二区三区五月婷| 国产精品视频免费一区| 狠狠色伊人亚洲综合成人| 国产一区观看| 亚洲大片一区二区三区| 欧美另类在线播放| 亚洲激情在线视频| 亚洲精品国偷自产在线99热| 久久夜色精品国产| 午夜精品美女久久久久av福利| 亚洲欧洲美洲综合色网| 欧美日韩国产成人在线免费| 欧美日本韩国| 久久精品一区中文字幕| 亚洲色图制服丝袜| 欧美二区在线观看| 一区二区三区国产在线| 99精品欧美一区二区蜜桃免费| 久久蜜臀精品av| 欧美国产亚洲视频| 国产精品成人一区二区三区夜夜夜| 亚洲国产日韩在线| 一区在线影院| 亚洲麻豆视频| 国产精品网红福利| 欧美日韩第一页| 亚洲欧洲在线播放| 欧美成人综合在线| 91久久精品视频| 欧美日韩一区二区在线| 国内免费精品永久在线视频| 亚洲国产aⅴ天堂久久| 亚洲另类在线视频| 国产精品影音先锋| 久久米奇亚洲| 国产亚洲一区二区三区在线播放| 伊人精品在线| 亚洲制服丝袜在线| 国产视频久久| 亚洲深夜福利视频| 欧美日韩高清在线| 一个人看的www久久| 久久久精品一品道一区| 亚洲国产成人在线播放| 国产精品三级视频| 久久久亚洲综合| 欧美精品在线极品| 欧美小视频在线观看| 免费影视亚洲| 欧美日韩国产高清视频| 欧美一区二区三区啪啪| 国产一区亚洲一区| 正在播放亚洲| 一区二区毛片| 亚洲欧美激情视频| 1769国内精品视频在线播放| 亚洲午夜一区| 欧美三级乱码| 久久免费偷拍视频| 国产自产v一区二区三区c| 一区二区三区波多野结衣在线观看| 国产日韩综合一区二区性色av| 亚洲欧美日韩国产另类专区| 欧美一区二区视频观看视频| 精品91久久久久| 在线亚洲欧美| 欧美精品在线观看91| 欧美国产三级| 夜夜嗨一区二区三区| 久久精品欧美日韩| 欧美精品日韩| 日韩视频精品在线观看| 国产精品色在线| 国产亚洲精品bt天堂精选| 国产精品va在线播放我和闺蜜| 国产日韩在线看| 欧美.www| 欧美在线观看www| 欧美日韩日本网| 国产伦理精品不卡| 性欧美暴力猛交另类hd| 亚洲桃花岛网站| 亚洲国产一区二区三区青草影视| 久久精品国产69国产精品亚洲| 久久久久久久高潮| 亚洲一区视频在线| 国产精品网站在线播放| 欧美在线电影| 亚洲日本aⅴ片在线观看香蕉| 国产精品大片免费观看| 亚洲精品国产拍免费91在线| 欧美jizz19hd性欧美| 1024欧美极品| 亚洲国产日韩精品| 亚洲欧美日韩天堂一区二区| 在线免费观看欧美| 欧美黑人一区二区三区| 亚洲成人原创| 国产视频在线观看一区二区三区| 欧美日韩综合在线免费观看| 久久精品国产96久久久香蕉| 欧美在线日韩|