Hotel reservation system Team A Benjamin Bach Ard Bahlman Paul van der Ende.

Slides:



Advertisements
Similar presentations
The Sales/Collection Business Process
Advertisements

EPOS - Point of Sale RES - Table Reservations STOCK - F & B Inventory Control CRM – Customer Relationship Mgmt. PMS – Property Management System.
Capacity Planning and Queuing Models
Unit 22, Day 4 Review the meaning of capacity. Compare the capacity of various containers.
TOPIC 5 INTRODUCTION TO PICTURES 1 1 Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach by M. Guzdial and B.
Scopus Title Submission and Evaluation Process Review Presented by: Derrick Duncombe Customer Outreach and Brand Manager Date: 17 February 2011.
Hotel Reservation System Team B: Christiaan Ypma Martijn Nijenhof Oscar de Groot Tom Hastjarjanto.
1 GetThere User Training Booking & Managing Online Travel.
Patron Categories Ability to organize patrons into: different roles (staff, patron, student, juvenile, etc.) age groups (age requirement) patron types.
Example 14.3 Football Production at the Pigskin Company
BASIC FUNCTIONS OF EXCEL. Addition The formula for addition is: =SUM( insert cells desired to sum up ) This returns the sum of the selected cells.
1 Chapter 9 - Formatted Input/Output Outline 9.1Introduction 9.2Streams 9.3Formatting Output with printf 9.4Printing Integers 9.5Printing Floating-Point.
This course has taken from This unique introductory SQL tutorial not only provides easy-to-understand SQL instructions, but it allows.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 9 - Formatted Input/Output Outline 9.1Introduction.
14-1. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 14 Capacity Planning and Queuing Models.
Introduction to Methods. How do we use Methods in Java? Let us start by creating one which displays “hello” on Dos Prompt.
1 Travel, Inc.’s Concur Online Travel Booking Training CC-QPL.0023.E01 10/3/2011 TRA-W.0001.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Streams Streams –Sequences of characters organized.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 9 - Formatted Input/Output Outline 9.1Introduction.
Welcome Property Managers & Guests. Shhh!!! Just to remind you that Resort Tax is confidential information and can not be shared. The information in this.
07/30/ ODE, Office for Child Nutrition Surveys.
Programming.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
“So, let’s take a glance with feel and comprehend the outline of - eZee Reservation”. “eZee Reservation” – Online Hotel Reservation Engine which is designed.
Copyright © 2011, 2009, 2003 by Saunders, an imprint of Elsevier Inc. All rights reserved. 1 Chapter 3 Appointment Scheduling.
Microsoft ® Office Access ® 2007 Training Datasheets II: Sum, sort, filter, and find your data ICT Staff Development presents:
NoteSearch - Find what you’re looking for. Prototype Team B.
DO NOT COPY Chapter 10 Capacity Management in service operations.
Hotel reservation UI Merijn Bellekom Ard Bahlman Vassilis Boucharas Martijn Nijenhof.
Assignements. CSC343: Intro. to Databases2 Exercise 1 Superkeys: Candidate keys: Primary key:
Querying a Database - A question or an inquiry (dictionary.com) - WHAT ARE WE ASKING QUESTIONS ABOUT? THE DATA - BY ASKING QUESTIONS OF THE DATA WE OBTAIN?
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
M1G Introduction to Database Development 5. Doing more with queries.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
What are queries? Queries are a way of searching for and compiling data from one or more tables. Running a query is like asking a detailed question of.
4a. Structured Query Language - SELECT Statement Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets.
Arrange simple meetings on demand from Worldspan Go! MEETING SPACE POWERED BY: User Guide.
DESIGN PART 2: OBJECT-LEVEL SEQUENCE DIAGRAMS WITH AN EXAMPLE OF COMPOSITION BTS430 Systems Analysis and Design using UML.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Type presentation name here in slide master © 2007 SDL. Company Confidential. Forward-looking information is based upon multiple assumptions and uncertainties.
Exercise 1 Back to the Book-Publisher Database 1.
Labcheck Next Generation Quick Start Guide Filters.
Functions: Part 2 of /11/10: Lecture 16 CMSC 104, Section 0101 John Y. Park 1.
How Your Customers Will Pay Online & by Phone
Microsoft Access Database Creation and Management.
Arrays. The array data structure Array is a collection of elements, that have the same data type Integers (int) Floating point numbers (float, double)
Library Management System -- Relational Data Model
Slide 1 Ch 13 Application architectures Generic architectures that can be configured and adapted to create a system that meets specific requirements Can.
C# Programming Methods.
Car Rental Reservation System CST 338 Sherelien Haase.
Merijn Bellekom Christina Manteli Ales Sturala Vassilis Boucharas.
Room Booking and Allocation Hrishikesh Wankhede. Offline Sales RTNE’s current booking model Steps to be followed: – customer/ agent comes on a website.
Forms 5.02 Understand database queries, forms, and reports.
CSCI N311: Oracle Database Programming 5-1 Chapter 15: Changing Data: insert, update, delete Insert Rollback Commit Update Delete Insert Statement –Allows.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Hotel User Interface Specification Team B Christiaan Ypma Ales Sturala Paul van der Ende.
1 ORACLE I 3 – SQL 1 Salim Phone: YM: talim_bansal.
Unit 3 Assignment 1 p2 Daniel Russell. How information is managed To begin with all of the hotels systems what deal with customers bookings and all that.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Personal Finance SIXTH EDITION Chapter 18 Asset Allocation.
Hotel reservation DB specification Benjamin Ard Tom.
Assignements.
 Porter Airlines are the regional airlines of the Toronto, Canada  Head office of Porter Airlines is in Billy Bishop Toronto City Airport  Porter Airlines.
Functions, Part 2 of 3 Topics Functions That Return a Value
Query Functions.
5.02 Understand database queries, forms, and reports.
Functions, Part 2 of 3 Topics Functions That Return a Value
Functions, Part 2 of 3 Topics Functions That Return a Value
Presentation transcript:

Hotel reservation system Team A Benjamin Bach Ard Bahlman Paul van der Ende

Problem statement An online hotel reservation system. The customer can provide the system with a start date, end date, types of rooms and number of persons to fit in each room. –There are different kind of rooms, the rooms vary in capacity. The system returns exact matches and/or multiple suggestions. The customer can pick a match or suggestion and make a reservation.

Data Int = A non-negative integer Date = A date containing day, month, year Hotel rooms –Room numberroomNumber :: Int –Capacitycapacity :: Int Room(roomNumber, capacity) Reservations –Reservation numberreservationNumber:: Int –Room numberroomNumber :: Int –Number of personsnumberPersons :: Int –Start datestartDate :: Date –End dateendDate :: Date Reservation(roomNumber, numberPersons, startDate, endDate)

Input for Query The customer can fill in a form to specify his preferences. startDate:: Date endDate:: Date roomList:: [(Int, Int)] –roomList means a list of all preferred kind of rooms and preferred number of persons (capacity, numberOfPersons) Constraints on input –startDate > currentDate currentDate means the date of the time the input takes place –endDate > startDate –length (roomList) > 0 Length is a function that returns the size of a list –numberOfPersons > 0 –numberOfPersons =< capacity

Matches/Suggestions An intermediate step for the reservation is that the customer can select a match or suggestion. Function –query :: ([Room], [Reservation]) -> Date -> [(Int, Int)] -> ([Reservation], [Reservation]) –(matches, suggestions) = query ((dataRooms, dataReservations), startDate, endDate, roomList) –Recall: Reservation(roomNumber, numberPersons, outStartDate, outEndDate) The result of the query function are two lists, matches and reservations. –Matches are exact matches on all properties –Suggestions differ in amount of rooms or different number of persons per room. –Maximum size of both list of reservations is limited by some value defined by the system to prevent too much results.

Constraints on Matches/Suggestions Recall: (matches, suggestions) = query ((dataRooms, dataReservations), startDate, endDate, roomList) Constraints –  res  (matches  suggestions) : res.outStartDate = startDate Λ res.outEndDate = endDate Λ !  res2  dataReservations : res2.roomNumber = res.roomNumber Λ ( res.startDate  res2.startDate  res.endDate V res.startDate  res2.endDate  res.endDate V (res2.startDate res.endDate) Λ  room  dataRooms : room.roomNumber = res.roomNumber Explaination: 1.The suggested reservations must have the same start and end data as the requested reservation 2.The suggested reservations must not have a start or end date between any already existing reservation 3.The suggested reservations must not have a start date before any existing start date of and end date after any existing end date 4.These constraints hold only if the two rooms are actually the same room.

Constraints on Matches/Suggestions (ctd) Recall: (matches, suggestions) = query ((dataRooms, dataReservations), startDate, endDate, roomList) maches  suggestions =   res1, res2  matches : res1 != res2  res1, res2  suggestions : res1 != res2  (?, roomCapacity)  roomList :  res1  matches :  room1  dataRooms: room1.roomNumber = res.roomNumber Λ room1.capacity = roomCapacity 1.Rooms are compared by their roomNumber 2.We require that every room in the matches list has exact the same capacity as is requested for by the Customer. (some constraint)   s.numberOfPersons   x 1.The sum of the capacity has to exceed the sum of the number of persons the customer wants to make reservations for – but not exceeding more than some unspecified constraint. s  suggestions(x, ?)  roomList

Reservation The system displays the results (matches and suggestions) of the query on screen. The customer can select only one match or suggestion to make a reservation. makeReservation :: Reservation -> Int reservationNumber = makeReservation (selectedReservation) –Constraint: The reservation still has to be available. Side effect of the makeReservation is that the reservation is saved in the database. The result of the makeReservation is that the reservation number is displayed on the screen. –The customer can use the reservation number to refer to his reservation.

Questions?