Mid level C++ project using inheritance and polymorphism..
$30-250 USD
Paid on delivery
MOST IMPORTANT 20 HOUR DEADLINE!!!. I will provide 3 cpp and 3 header files. You have to modify them using Visual Studio 2010 and USING PLAIN ENGLISH. It is a low to medium diffuculty project for the experts. Please contact me so I can send you a pdf file describing the project and the necessary cpp and header files.
This is a homework from advanced introduction to programming lecture, about the topics inheritance and polymorphism.
We saw in the first lecture an elevators simulator written according to the principles of
modularization and encapsulation in C language. Together with this homework you receive a
C++ version of it. Your goal is to extend it as follows by using inheritance and polymorphism.
In this homework there are two types of Elevators:
ElevatorWithManualDoor: Elevators of this type behave the same way as the original elevators.
ElevatorWithAutomaticDoor: These elevators have an automatic door. They do not accept
openDoor() and closeDoor() commands. (But their doors are eventually opened and closed).
They open their doors automatically whenever they stop, and close them when a predefined
time has eleapsed after the opening. They open their doors also in case they get a moveTo()
command to the very same floor they are already,
Below there is a UML “Class Diagram” of the Elevator related classes. (The list of methods in the
diagram is incomplete)
a) Elevator (which you will have to modify, is an abstract class, therefore it cannot be
instantiated. Its closeDoor() and openDoor() methods are protected, therefore can be used
only by subclasses but not by other classes. For instance, a “Person” cannot use this
method.
b) IManualDoor is an interface with two methods: openDoor() and closeDoor(). Every
elevator with manual doors should implement this interface.
c) ElevatorWithManualDoor implements this interface to give access to its doors, however
internally it uses the methods of its super-class, (i.e. Elevator), to open and close the doors.
d) ElevatorWithAutomaticDoor: open and closes its own doors, by invoking the super-class,
(i.e. Elevator), methods whenever it decides to do [login to view URL]’s behavior, i.e. doAction() should be modified so that it takes into account the new
situation, i.e. if an elevator does not have manual doors he/she should not try to open its
doors (otherwise it would get a runtime error), he/she should patiently wait for the doors to
be opened automatically.
Simulator, chooses a random number m from zero to the number of elevators. The first m
elevators are manual, and the rest are automatic.
The diagram below describes the general structure of the program, which very similar to the
one you received: A simulator contains many Elevator’s and many Person’s. A person uses
the Elevator class and the IManualDoor [login to view URL] want to see in the output for each elevator whether it is manual or automatic.
Prepending the character ‘A’ or the character ‘M’ to the status string of the elevator,
according to its type.
I will not publish an output for this project for two reasons:
a) Because of randomization no two outputs will necessarily be the same.
b) You can generate a sample output using the program that you receive. The only
difference in your program will be the letters ‘A’ and ‘M’ mentioned above.
Test with the following input:
Number of elevators: 3
Number of persons: 20
Lowest floor: -2
Highest Floor: 7
Acceleration Time: 1
Slow Down Time: 1
Time Between Floors: 3
Project ID: #12818662
About the project
27 freelancers are bidding on average $124 for this job
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
hello I can code the assignment as per given guidelines. please provide details document, uml diagram and CPP files. Thank you.
HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
Hello I am C++ expert and interested in this project. I have reviewed the details and confident to handle it perfectly. I have a lot of experience in helping in students with assignments, so I will keep code More
Hello, This is not copy/paste message. I read your requirements. I am interested for this job. I have expertise in Wordpress, Laravel, Magento, AngularJS, Ruby on Rails, Core PHP etc. technologies and can work on More
Greetings! I am an expert C++ programmer with clear concepts of inheritance and polymorphism. I excel in completing mid-level programming assignment for college students. I am ready to start right away and complete wit More
Hi, I am good at core C++ programming and can complete the project in less than 20 hours. With Regards, Koustav
Hello there :) I teach C++, can I help? Can do it for you today, if you want. Let me know. Cheers
I've authored books on Java, C, C++ and Data Structures and Algorithms, and have over 12 years of professional experience as a software engineer and consultant. On Freelancer I specialize in implementing algorithms in More
Hi, don't see any specific visual studio usage, this can be done in plain text editor. But anyway need to see, maybe there are some compilation configuration needed
Hi, I have Master Degree in Computer Science. and great experience in C++ and Simulator application. I would like to see the existing code n order to say if I can accomplish the task in max 12 hours from now. The deadl More
I am bachelor degree of computer science i did similar task before 2 years please i can do that if you hire me thanks
I am having 5+ years of experience in C++ on Windows Platform.I worked for Sasken and Honeywell Have Experience with Visual Studio
I am a hard worker and only thing I know is programming and punctuality I want to work for this company and give my best to you