[SOLVED] 程序代写 /* In the initial state, both rovers are at the lander. */

30 $

File Name: 程序代写_/*_In_the_initial_state,_both_rovers_are_at_the_lander._*/.zip
File Size: 668.82 KB

SKU: 3836576482 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


/* In the initial state, both rovers are at the lander. */
at(r1,lander,[]).at(r2,lander,[]).

canTraverse(r1,lander,bigRock22).

Copyright By PowCoder代写加微信 assignmentchef

canTraverse(r1,lander,point15).
canTraverse(r1,point15,point9).
canTraverse(r1,point9,lander).
canTraverse(r2,lander,smallRock7).
canTraverse(r2,lander,point9).
canTraverse(r2,point9,bigRock22).
canTraverse(r2,smallRock7,bigRock22).
canTraverse(r2,bigRock22,lander).

equippedFor(r1,soilAnalysis).
equippedFor(r2,rockAnalysis).

availableAt(soilAnalysis,point9).
availableAt(soilAnalysis,point15).
availableAt(rockAnalysis,smallRock7).
availableAt(rockAnalysis,bigRock22).

/* Goal: only 2 rocks are sampled and analysis data sent to the lander. */
goal_state(S) :- hasLander(bigRock22,rockAnalysis,S),
hasLander(smallRock7,rockAnalysis,S).

/* Goal: both 2 rocks and 2 points are sampled and data are received by the lander.
goal_state(S) :- hasLander(bigRock22,rockAnalysis,S),
hasLander(smallRock7,rockAnalysis,S),
hasLander(point9,soilAnalysis,S),
hasLander(point15,soilAnalysis,S).
/* Remove comments above only if you would like to try a more difficult question.
In this challenging question (not required) soil at both points must be analysed
and data must be communicated to the lander in addition to data from rocks. */

程序代写 CS代考加微信: assignmentchef QQ: 1823890830 Email: [email protected]

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 程序代写 /* In the initial state, both rovers are at the lander. */
30 $