subject

Consider the following vacuum-cleaning world which has 3 squares we assume the following .the vacuum-cleaning agent knows the configuration of the 3 squares, but does not know which square it is in initially. the initial dirt distribution is not known either .a clean square remains clean and a dirty square remains dirty unless the agent cleans it up. the agent has two sensors: loc(x) and status(x). loc(x) returns the identity ("a" or "b" or "c") of the square x that the agent is located, and status(x) returns either "dirty" or "clean for the square x. assume that the sensors are 100% reliable th actions available for the agent are: left, right, suck, noop. each action takes place in the actions are perfectly reliable - perform "suck" in dirty square will change it to become the agent will be penalized by -1 point for each movement left, right, suck. the agent gets · for a time horizon t (say t = 100) steps, the agent is penalized by-2 points per dirty square one time "step" clean, and moving left when in square c will get the agent to square b +10 points reward for each dirty square cleaned. per time step. (if a square is dirty at the "start" of time step t and the agent performs "suck" at this time step, the square becomes "clean" at the "end" of step t. thus for time step t for this particular square, no penality should be applied to the agent) the agent's performance is measured by the total number of points (positive or negative) over t- 100 time steps. (a) design a simple reflex agent (without states) for this problem - provide pseudo-code for the agent and define the "condition-action" rules. can such an agent be perfectly rational (i. e., maximizing the expected performance measure) for any initial agent location and dirt distribu- tion? explain your answer (b) what about a reflex agent with states (i. e., an agent which has an internal state representation of the world environment)? can such an agent be perfectly rational under the current assump- tions? design such an agent (pseudo-code, rules, or look-up table, etc.) (c) now assume that the agent's dirt sensor is more powerful which provides complete information about dirty/clean status of every square in the environment. can a simple reflex agent be per fectly rational now? and if so, design such an agent (pseudo-code, rules, or look-up table, etc

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
This program will store roster and rating information for a soccer team. coaches rate players during tryouts to ensure a balanced team. (1) prompt the user to input five pairs of numbers: a player's jersey number (0 - 99) and the player's rating (1 - 9). store the jersey numbers in one int vector and the ratings in another int vector. output these vectors (i.e., output the roster). (3 pts) ex: enter player 1's jersey number: 84 enter player 1's rating: 7 enter player 2's jersey number: 23 enter player 2's rating: 4 enter player 3's jersey number: 4 enter player 3's rating: 5 enter player 4's jersey number: 30 enter player 4's rating: 2
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
You know the right answer?
Consider the following vacuum-cleaning world which has 3 squares we assume the following .the vacuum...
Questions
question
Social Studies, 23.01.2021 07:40
question
Mathematics, 23.01.2021 07:40
question
Computers and Technology, 23.01.2021 07:40
question
Mathematics, 23.01.2021 07:40
question
English, 23.01.2021 07:40