99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          一区二区亚洲精品| 欧美日本亚洲视频| 亚洲大黄网站| 欧美激情亚洲自拍| 欧美一区二区三区的| 亚洲激情一区| 国产综合av| 国产精品久久久免费| 欧美高清视频一区二区| 先锋影音一区二区三区| 99re热这里只有精品视频| 国产专区综合网| 国产精品日韩精品欧美精品| 欧美精彩视频一区二区三区| 久久精品国产一区二区三| 亚洲一区精彩视频| 国产精品99久久久久久久久久久久 | 欧美人与性动交a欧美精品| 久久精品亚洲国产奇米99| 亚洲欧美日韩综合| 99成人精品| 亚洲美女中文字幕| 亚洲国产影院| 亚洲精品久久久久久久久久久| 韩日在线一区| 伊人狠狠色j香婷婷综合| 国产原创一区二区| 国产免费亚洲高清| 国产视频精品va久久久久久| 国产日韩专区| 国产一区美女| 精久久久久久| 亚洲高清不卡一区| 亚洲全部视频| 日韩亚洲精品在线| 亚洲手机视频| 欧美一级黄色网| 久久久精品动漫| 久久嫩草精品久久久久| 免费成人美女女| 欧美激情精品久久久久久黑人| 欧美成人一二三| 欧美日韩一区二区欧美激情| 欧美午夜免费| 国产一区二区成人久久免费影院| 国产一区二区三区不卡在线观看 | 欧美日韩伦理在线免费| 欧美视频在线观看视频极品| 国产精品白丝av嫩草影院| 国产精品美女久久久久aⅴ国产馆| 国产精品福利在线观看网址| 国产亚洲精品福利| 亚洲黄一区二区三区| 在线午夜精品自拍| 午夜精品亚洲| 女女同性女同一区二区三区91| 欧美激情bt| 国产嫩草一区二区三区在线观看 | 一区在线播放| 在线观看视频一区二区| 亚洲美女中文字幕| 午夜欧美大尺度福利影院在线看| 久久久久久自在自线| 欧美日韩亚洲在线| 激情丁香综合| 亚洲一区二区三区激情| 美女诱惑黄网站一区| 欧美日韩中文在线观看| 含羞草久久爱69一区| 亚洲视频在线看| 欧美aa国产视频| 国产一区二区三区四区在线观看| 夜夜嗨av色综合久久久综合网 | 国产女人精品视频| 亚洲精品乱码久久久久| 欧美资源在线观看| 欧美日韩亚洲综合在线| 亚洲国产另类久久精品| 久久精品导航| 国产精品久久久久久久久借妻 | 欧美国产91| 有码中文亚洲精品| 欧美在线你懂的| 国产九九视频一区二区三区| 99re热这里只有精品视频| 欧美成人综合在线| 在线观看成人一级片| 久久精品视频免费观看| 国产精自产拍久久久久久| 亚洲一区国产精品| 国产精品成人一区二区艾草| 最新中文字幕一区二区三区| 久久综合久久综合久久| 激情欧美日韩| 久久在线视频在线| 在线欧美小视频| 免费在线日韩av| 亚洲第一黄网| 欧美大学生性色视频| 亚洲国产日韩在线一区模特| 久久综合一区| 亚洲人久久久| 欧美日本在线| 亚洲图片欧美一区| 国产精品久久久爽爽爽麻豆色哟哟| 99在线精品视频| 欧美视频一区二区在线观看| 亚洲视频在线观看一区| 国产精品欧美日韩| 久久国产精品免费一区| 国产综合欧美| 久久综合色综合88| 亚洲精选在线| 国产精品久久午夜| 欧美一区二区三区在线播放| 国产一区二区三区四区在线观看 | 国产美女精品免费电影| 久久久999精品视频| 在线观看三级视频欧美| 欧美日韩国产综合视频在线观看 | 国产精品日韩欧美大师| 亚洲色在线视频| 国产精品自在线| 老鸭窝毛片一区二区三区| 亚洲卡通欧美制服中文| 国产美女扒开尿口久久久| 久久久久欧美| 正在播放欧美视频| 国产一区欧美| 欧美日本国产在线| 久久成人免费视频| 99精品福利视频| 国产精品影片在线观看| 久久综合久久综合九色| 一区二区三欧美| 韩日欧美一区二区| 国产精品福利网| 欧美激情自拍| 久久精品视频一| 正在播放日韩| 一区二区在线视频播放| 国产精品国产三级国产aⅴ入口| 久久久久欧美精品| 亚洲综合视频一区| 亚洲国产精品高清久久久| 国产欧美一区二区三区在线老狼 | 亚洲欧洲日产国码二区| 国产精品免费一区豆花| 欧美肥婆在线| 久久午夜羞羞影院免费观看| 亚洲中字黄色| 99热精品在线观看| 91久久精品美女高潮| 黄色精品一区| 国产视频在线观看一区| 欧美性jizz18性欧美| 欧美大片91| 麻豆精品视频在线观看| 欧美一区二区视频观看视频| 亚洲影院在线观看| 一区二区三区精密机械公司 | 亚洲精品日韩欧美| 在线成人激情视频| 今天的高清视频免费播放成人| 国产精品日韩欧美一区二区三区 | 一本久道久久久| 日韩一级精品视频在线观看| 亚洲经典视频在线观看| 最新国产成人av网站网址麻豆| 国内精品免费在线观看| 国产午夜精品久久久久久免费视| 国产精品乱码一区二三区小蝌蚪| 欧美色欧美亚洲高清在线视频| 欧美日韩一级大片网址| 欧美网站在线| 国产精品三上| 国内精品久久久久久久97牛牛| 国内自拍一区| 亚洲激情欧美| 一区二区三区日韩在线观看| 亚洲午夜在线视频| 亚洲男同1069视频| 欧美在线播放高清精品| 久久伊人亚洲| 欧美精品在欧美一区二区少妇| 欧美日韩人人澡狠狠躁视频| 国产精品高潮呻吟久久| 国产日韩欧美精品| 激情综合色综合久久综合| 亚洲国产天堂久久综合网| 日韩一区二区高清| 亚洲综合国产精品| 欧美亚洲一区在线| 另类专区欧美制服同性| 欧美三级午夜理伦三级中文幕| 国产精品久久久久影院色老大| 国产热re99久久6国产精品| 亚洲激情电影中文字幕| 在线亚洲免费| 久久亚洲午夜电影|