Markov Room

The Markov Room is a sample of my C, C++, MFC, and STL skills. The program demonstrates a robot in a room. The robot is only able to turn, and measure the distance that a single sensor can look at. From these two rules the robot must form a confidence level of what direction it is facing.

The application is a MFC dialog based application, using buttons, sliders, static text boxes, and edit boxes. The items that are drawn on the screen are C++ objects. The probabilities that the robot is facing are stored in a STL map and those maps are stored in a vector.

JimDrawingObject.cpp
JimDrawingObject.h

This is the base class for all of the drawable objects. It's a abstract class.

JimLine.cpp
JimLine.h

This is the class that handles both drawing lines and well as finding slopes and intersections of lines. It's derived from the Drawing Object.

JimPoint.cpp
JimPoint.h

This is the class that handles points. It's derived from the Drawing Object as well.

 

 

JimPage.cpp
JimPage.h

This is the blank canvass which all of the drawing objects are drawing on.

JimMarkovRobot.cpp
JimMarkovRobot.h

This is the class that does all of the work, it's also the class that I'm currently working on. It's derived from the Page, as well as containing a second page.

 

 

MarkovRoomDlg.cpp
MarkovRoomDlg.h

This is the MFC dialog handling class.
   

 

 

 

 

If you would like to mail stuff or suggest alternate spellings of things on this site send them to:
Me@JimWright.org 

This site and all of the artwork on it is Copyright © 1993-2002 Jim Wright. All them rights reserved!