update code in C++

please see instructions in the attached file. #include <iostream> #include <iomanip> using namespace std; const int ROWS = 8; const int COLS = 9; //P(sense obstacle | obstacle) = 0.8 float probSenseObstacle = 0.8; //P(senses no obstacle | obstacle) = 1 – 0.8 = 0.2 float probFalseNoObstacle = 0.2; //P(sense obstacle | no obstacle) = … Read more

update code in C++

instructions attached  below  #include <iostream> #include <iomanip> using namespace std; const int ROWS = 8; const int COLS = 9; //P(sense obstacle | obstacle) = 0.8 float probSenseObstacle = 0.8; //P(senses no obstacle | obstacle) = 1 – 0.8 = 0.2 float probFalseNoObstacle = 0.2; //P(sense obstacle | no obstacle) = 0.15 float probFalseObstacle = … Read more

Python programming

I need help to write this following code in python. 1. DynamicEntity (class) – Inherits from Entity DynamicEntity is an abstract class which provides base functionality for special types of Entities that are dynamic (e.g. can move from their original position). set_position(self, new_position: tuple[int, int]) -> None Updates the DynamicEntity’s position to new_position, assuming it … Read more