Description
Download the attached Eclipse Project. You are free to use whatever development environment you choseYour task is to modify the Robot class’ getAction method such that it will clean at least 70% of the tiles in a 10×10 room within 200 time steps. Note, the environment size, performance threshold, and number of time steps will also change for testing. For example, it would be impossible to get 70% coverage in a 100×100 room within 200 time steps. The getAction method returns a single Action object from the Action.java file. The robot can CLEAN, DO_NOTHING, or MOVE in 1 of four directions.Throughout the room, there are impassable walls blocking the agent’s traversal. The agent can view one tile around it in each direction.You are free to implement the Robot object however you like – developing a simple reflex style agent or one that stores a model of the world as it goes. Two simulations files have been included in the files: VisualizeSimulation and RunSimulation. VisualizeSimulation will generate a visualization of your agent’s interactions with the environment, updating every 200 milliseconds. This will help you visualize your agent’s behavior, in case it does not interact the way you think. RunSimulation, Instead of a visualization, this file quickly runs through the simulation and outputs its end results.