Sedang Disiapkan

One Lane Bridge Problem Proj

This is a fairly easy project that I need to be done in a short amount of time. Must be coded in C/C++.

You need to solve the one lane problem which states:

Vehicles coming from the north and the south arrive at a one-lane bridge. Vehicles heading in the same direction can cross the bridge at the same time, but vehicles heading in opposite directions cannot. And, if there are ever more than 3 vehicles on the bridge at one time, the bridge will collapse under their weight. In this system, each vehicle is represented by one thread, which executes the procedure OneVehicle when it arrives at the bridge:

OneVehicle(int dir) {

ArriveBridge(dir);

CrossBridge();

ExitBridge(dir);

}

In the code above, dir is either 0 (to the north) or 1 (to the south); it gives the direction in which the vehicle

will cross the bridge.

More details are attached in the pdf file.

Kemahiran: Pengaturcaraan C, Pengaturcaraan C++, Kejuruteraan Perisian

Lihat lebih lanjut: lane bridge problem, thread programming, easy problem, c++ programming problem, solve problem, PROJ, one time, lane, bridge, short programming, lane bridge, vehicle programming software, programming short, bridge problem, bridge project, details pdf file, collapse, programming states, bridge software, problem conference bridge asterisk, easy proj, software bridge, pdf procedure, joomla ie6 compatible ie7 problem, directions create user upload script

Tentang Majikan:
( 3 ulasan ) Canton, United States

ID Projek: #1554189

Dianugerahkan kepada:

ducle

I have 4 years experience in C/C++ programming and algorithm. I can handle this project. Could you please give me the pdf file so I can carefully study the problem? Do you want to have the project done in Linux or Win Lagi

$50 USD dalam 2 hari
(7 Ulasan)
3.3

2 pekerja bebas membida secara purata $55 untuk pekerjaan ini

Brandon30

Im confident I can make a program in C++ to solve your problem.

$60 USD dalam sehari
(0 Ulasan)
0.0