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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                寂寞少妇一区二区三区| 亚洲国产精品久久久久秋霞影院 | 一区二区三区四区中文字幕| 成人高清免费观看| 国产午夜精品美女毛片视频| 日韩视频在线你懂得| 日韩精品一区国产麻豆| 欧洲精品一区二区| 久久综合久久鬼色中文字| 欧美日韩综合不卡| 成人激情免费视频| 久久精品夜色噜噜亚洲aⅴ| 精品欧美黑人一区二区三区| 亚洲精品一区二区精华| 日韩欧美精品三级| 精品久久久久久综合日本欧美| 欧美无人高清视频在线观看| 欧美在线观看18| 亚洲色图视频免费播放| 国产成人在线看| 成人三级伦理片| 国产精品少妇自拍| 亚洲图片你懂的| 国内成+人亚洲+欧美+综合在线| 亚洲欧美一区二区三区国产精品 | 97精品久久久久中文字幕| 亚洲18色成人| 久久久国产一区二区三区四区小说 | 国产女人aaa级久久久级| 韩国v欧美v日本v亚洲v| 成人手机电影网| 欧美一区日本一区韩国一区| 亚洲成在人线在线播放| 欧美日韩mp4| 欧美视频你懂的| 国产精品久久久久久久第一福利 | 国产精品乱人伦| 久久精品一区二区三区不卡 | 一区二区在线观看av| 麻豆成人综合网| 国产一区二区按摩在线观看| 欧洲一区在线电影| 国产精品久久久久久久久免费樱桃 | 欧美大片在线观看一区| 中文字幕在线一区二区三区| 丁香婷婷综合激情五月色| 欧美日韩一区不卡| 一区二区三区日韩欧美精品| 精品久久国产字幕高潮| 在线电影一区二区三区| 国产精品久久网站| 欧美一三区三区四区免费在线看| 欧美中文字幕不卡| 丝袜美腿亚洲综合| 日日夜夜精品视频天天综合网| 欧美一区二区人人喊爽| 国产日韩欧美激情| 欧美一区二区三区四区在线观看| 国产九九视频一区二区三区| 717成人午夜免费福利电影| 日韩欧美电影在线| 国产亚洲欧美激情| 欧美三级中文字| 欧美一级片在线看| 久久综合国产精品| 国产精品九色蝌蚪自拍| 久久99热这里只有精品| 色婷婷亚洲一区二区三区| 久久伊99综合婷婷久久伊| 国产日产亚洲精品系列| 日一区二区三区| 欧美精品色综合| 久久综合视频网| 午夜影院久久久| 国产精品99久久久久久久vr| 美女尤物国产一区| 日韩免费视频一区二区| 日韩高清一区在线| 欧美日韩精品一区二区三区蜜桃| 91蜜桃免费观看视频| 日韩精品资源二区在线| 日韩国产一区二| 欧美mv日韩mv国产网站app| 狠狠色狠狠色综合| 正在播放亚洲一区| 久久99精品久久久久| 精品视频免费看| 国产在线精品免费av| 精品国产91洋老外米糕| 老汉av免费一区二区三区| 国产视频一区二区三区在线观看| 久久国产剧场电影| 久久精品夜色噜噜亚洲a∨| 国产999精品久久| 欧美伦理电影网| 91在线高清观看| 亚洲精品中文在线| 日韩免费观看高清完整版| 国产在线精品一区二区不卡了| 国产欧美日韩视频一区二区| 国产91精品欧美| 中文字幕一区二区三区蜜月| 国内国产精品久久| 久久精品视频在线免费观看| 国产乱码精品一品二品| 中文字幕在线观看不卡| 欧美酷刑日本凌虐凌虐| 丰满亚洲少妇av| 中文字幕日韩一区| 日韩一区二区不卡| 91色在线porny| 国产三区在线成人av| 日本免费在线视频不卡一不卡二| 久久久久久99久久久精品网站| 欧日韩精品视频| 99久久99久久精品免费观看| 久久综合综合久久综合| 亚洲欧洲av在线| 日韩视频免费观看高清完整版| 国内精品久久久久影院色| 色综合天天性综合| 久久久综合精品| 精品国产成人在线影院| 91麻豆精品国产91久久久资源速度 | 欧美日韩dvd在线观看| 欧美激情一区二区三区不卡| 久久亚洲捆绑美女| 午夜精品久久久久久久久久久| 国产精品色一区二区三区| 欧美精品一区二区高清在线观看 | 国产一区免费电影| 99这里只有精品| 亚洲另类一区二区| 欧美怡红院视频| 久久精品国产第一区二区三区| 亚洲午夜免费视频| 国产一区欧美二区| 一区二区三区不卡在线观看| 午夜精品一区二区三区电影天堂| 欧美精品v国产精品v日韩精品| 麻豆精品国产传媒mv男同| 中文字幕一区二区三区乱码在线 | 91蜜桃网址入口| 中文字幕欧美一| 一区二区欧美精品| www.欧美.com| 51午夜精品国产| 欧美性猛交xxxxxx富婆| 欧美日韩亚洲综合在线| 国产a精品视频| 国产激情91久久精品导航| 日本va欧美va精品| 亚洲一区二区三区四区中文字幕| 欧美不卡在线视频| 91麻豆精品国产无毒不卡在线观看| 五月激情六月综合| 日韩精品一级二级| 一区二区免费看| 在线免费av一区| 丁香天五香天堂综合| 亚洲1区2区3区视频| 免费久久精品视频| 欧美老肥妇做.爰bbww| 亚洲男人的天堂在线aⅴ视频| 国产成人午夜精品影院观看视频 | 日韩一区二区三区四区五区六区| 欧美日韩久久一区二区| 欧美丰满少妇xxxxx高潮对白 | 亚洲精品一区在线观看| 亚洲黄色小视频| 久久在线观看免费| 欧美日韩一区二区欧美激情| 老司机免费视频一区二区| wwww国产精品欧美| 久久综合久久鬼色中文字| 91精品国产色综合久久久蜜香臀| 国产传媒一区在线| 高清不卡一区二区| 色综合激情久久| 一区二区在线观看免费视频播放| 欧美日韩久久一区二区| 成人国产在线观看| 久久精品国产77777蜜臀| 国产1区2区3区精品美女| 91久久人澡人人添人人爽欧美| 亚洲久草在线视频| 经典三级一区二区| 99综合电影在线视频| 欧美成人video| 日韩电影在线免费观看| 成人午夜短视频| 日韩亚洲欧美一区二区三区| 亚洲最大色网站| 成人激情免费网站| 久久免费午夜影院| 久草精品在线观看| 91精品国产91久久久久久一区二区 | 亚洲午夜精品在线| 99久久免费视频.com| 日韩欧美自拍偷拍|