Find Jobs
Hire Freelancers

Build a programm for roomplanning in Python

€8-30 EUR

Completed
Posted about 4 years ago

€8-30 EUR

Paid on delivery
###HAS TO BE FINISHED WITHIN THE NEXT 6 HOURS### Write a Python program that makes simple room planning for a calendar week provides. To this purpose is only a class to write the class RoomManagement_CW, in the following information is: - The calendar week (as an integer) - The information about all rooms (provided as a dictionary, where the key is (unique room name is and the value of the number of places in the room) - for every working day (Monday to Saturday) in a calendar week and for each block b (1 to 6) and room R the information as to whether room R on the working day in the Block b is free or occupied. The RoomManagement_CW class should provide the following methods: - get_room (self, day, no_seats, first_block, no_block), where Day is the day of the week, no_seats the required number of seats, first_block the Number of the first blocks, in which event should take place, no_block die Number of blocks that are needed. In case you have a default parameters try, can you as default value for no block the value 1 accept. The method is after a space search on the specified day in which specified period (given by first_block and no_block) is free and has the requested number of seats. Since large spaces are scarce, one should the smallest possible space can be determined with the necessary number of spaces. The the corresponding room name should be returned by the function and this Space should be to the specific data as used defined be. - is_free (self, day, room, block_no), where day is the day of the week, room a room name, block_no the number of a block. It is supposed to be examined whether the room is free according to the relevant information. - Schedule (self, space), where space is a room name. The method is said to Provide information about the room as a string, i.e. on which day, in which Block the room is free or occupied. This string could look like this, for example: Room: D112 -take a look in .pdf for the String design: - means, the room is free; X means busy The following methods / functions should also be provided: - read_room_infos (ri_file), where ri_file should be the name of a file, in which the room information is stored. The room number and the number of seats should be separated by a colon in one line of the file. This method is intended to return the corresponding room information as a dictionary. - Two methods / functions write_room_schedules and read_room_schedules with which the entire information of an object of the class RoomManagement_CW can be written to a file and read again (note: use the pickle module). Make it possible to store the additional information about which course (given by a course number, whole positive number) occupies a room. This information should be able to be determined by a suitable method. The file [login to view URL] should be available as a file with room information.
Project ID: 23562675

About the project

5 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I am a C/C++, Python, Java expert with 2 years of competitive programming experience with knowledge of Data structures and algorithms and I can do your work as soon as possible. Can we discussed more on this project on chat?
€20 EUR in 1 day
4.9 (18 reviews)
3.8
3.8
5 freelancers are bidding on average €28 EUR for this job
User Avatar
Hey brother, i am an experienced Python developer interested to solve your problem, as you need it in next 6 hours so lets start talking immediately so i can start working asap, Regards, Asad Ali
€19 EUR in 7 days
4.9 (15 reviews)
4.1
4.1
User Avatar
hi I m interested in your project but in your project details there are a lot of words missing so its not clear kindly fix that I can build a program for room-planning in Python.
€30 EUR in 7 days
5.0 (23 reviews)
4.2
4.2

About the client

Flag of GERMANY
Berlin, Germany
5.0
1
Payment method verified
Member since Jan 25, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.