Question: you doesnot apply vector, unordered _ map , climits , map,set , stdexcept, algorithm libraries. you must be implement by using templates in classes and
you doesnot apply vector, unorderedmap climits map,set stdexcept, algorithm libraries.
you must be implement by using templates in classes and functions and donot use structs
You have to apply appropriate data structures and algorithms to construct an online groceries store where the system should not only be able to manage the grocery items but also cater for their online delivery to customers
Customer:
The information kept about each borrower would include the following info:
CNIC number
Name
Mobile number
Address
Your system should store above features against each customer using an appropriate search structure. If you use a Binary Seach Tree please input data from a file such that the height of the resulting BST is as
close to lognas possible.
GroceryItem:
The data kept about books is as follows:
barcode
title
unit price
quantity available
Your system should store above features against each groceryItem in a data structure where data access time is no worse than O
Groceries Delivery:
Add functionality for the customers where they will be able to get the groceries delivered from the store to their respective addresses. The map of each student doing this project should be different and consist of atleast nodesOnce loaded your source would be the store location and destination would be the customers address. Your system should generate the shortest path between the source and
destination to give to one of its drivers for delivery purpose.
Objectives:
Write program for the functionalities of insertupdatedelete operations
Add functionality of search where a grocery item can be searched by barcodetitle or both.
Display the path that a rider would take to deliver an order.
Update the quantity available once a grocery item has been sent for successful delivery
Requires understanding of data
structures egBinary Search Tree, hash tablesfor customer
and grocery item storage, and graph algorithms for delivery path
finding.
Suggested use of
BST to carry Customer data with lognperformance
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
