Mid level C++ project using inheritance and polymorphism..

Closed Posted 7 years ago Paid on delivery
Closed 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

C++ Programming PHP Software Architecture

Project ID: #12818662

About the project

27 proposals Remote project Active 7 years ago

27 freelancers are bidding on average $124 for this job

Yknox

Hello I'm interesting your project very well I'm a Good C, C++, OpenCV, Math, java, c#, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. More

$237 USD in 7 days
(1035 Reviews)
9.4
it2051229

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.

$35 USD in 1 day
(894 Reviews)
7.5
usuf001

hello I can code the assignment as per given guidelines. please provide details document, uml diagram and CPP files. Thank you.

$166 USD in 3 days
(536 Reviews)
7.2
urmate

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

$100 USD in 1 day
(396 Reviews)
7.1
dobreiiita

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

$100 USD in 1 day
(289 Reviews)
7.0
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environ More

$150 USD in 3 days
(130 Reviews)
7.0
rainstreamweb

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

$155 USD in 3 days
(41 Reviews)
6.6
Nawaz091993

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

$100 USD in 0 days
(130 Reviews)
6.7
koustav2006

Hi, I am good at core C++ programming and can complete the project in less than 20 hours. With Regards, Koustav

$70 USD in 1 day
(181 Reviews)
6.3
NewHorizons2016

Hello there :) I teach C++, can I help? Can do it for you today, if you want. Let me know. Cheers

$100 USD in 1 day
(37 Reviews)
6.3
agragaurav

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

$200 USD in 1 day
(23 Reviews)
5.8
harshdaga

Hi, I've got quite some experience with C and C++ and I'm sure I can help you out with this project. However, some information seems missing in what you've provided here in the description. Could you send the exact More

$50 USD in 1 day
(65 Reviews)
5.3
pakulin

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

$66 USD in 1 day
(45 Reviews)
5.4
zabolotniipavel

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

$80 USD in 0 days
(54 Reviews)
5.3
Minaxi19

URGENT Hi sir i have 6 years of expertise in C++ development. I am intrested in doing this work in just 100 dollars for you. You can check my reviews on tutorz and freelancer. Contact me to get this done today it More

$78 USD in 0 days
(11 Reviews)
3.9
Maxamed024

I am bachelor degree of computer science i did similar task before 2 years please i can do that if you hire me thanks

$130 USD in 5 days
(0 Reviews)
0.0
hemalathachundi

I am having 5+ years of experience in C++ on Windows Platform.I worked for Sasken and Honeywell Have Experience with Visual Studio

$155 USD in 3 days
(0 Reviews)
0.0
Abhievil99

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

$222 USD in 20 days
(0 Reviews)
0.0