Coder Social home page Coder Social logo

chiragbiradar / postal-consignment-system Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 1.0 156 KB

Postal delivery system to find shortest path using Dijkstra's Algorithm and bin pack algorithm for efficient distribution

C 100.00%
bin-packing c data-structures dijkstra-algorithm

postal-consignment-system's Introduction

Postal Consignment System

Contributers

Chirag Biradar

Jaswanth Reddy

B Ajay Kushal

Problem Statement

For many years, the department of posts (DoP) has been the backbone of the country’s communication and has played a crucial role in the country’s social-economic development. It touches the lives of Indian citizens in many ways. India has the largest postal network in the world with more than 1,55,000 post offices and more than 5,66,000 employees.There are huge number of posts to be supplied to various destinations across the country. Also segregation of posts need to be done according to the city.

Pain points

  1. Finding the shortest path  between the cities for postal delivery.

  2. storing the related data and  analysing the data.

  3. Segregation of all posts should be done according to the city. Also if there are more than N posts to be delivered to same city, extra postman must be added to make work more efficient.

  4. All the input data need to be stored before we use random function for consideration of data. As we are not taking any input from user, it is typical to store multiple information.

Solution for Pain Points

1 .Dijkstra's algorithm

Dijkstra's algorithm is a famous and widely used graph traversal algorithm for finding the shortest path between nodes in a weighted graph. This algorithm was developed by Dutch computer scientist Edsger W. Dijkstra in 1956 and is often used in routing and as a subroutine in other graph algorithms. It is a greedy algorithm that works by selecting the node with the lowest distance from the source node and updating the distances of its neighbors. The algorithm maintains a set of visited nodes and a priority queue of nodes to be explored. The complexity of the algorithm is O((E+V)logV) in the worst case, where E is the number of edges and V is the number of vertices in the graph. Despite its efficiency, Dijkstra's algorithm may not work correctly if the graph contains negative-weight edges, as it assumes non-negative weights. Overall, Dijkstra's algorithm is a fundamental algorithm in computer science and plays a crucial role in solving many practical problems.

2. Array/Linked List

We need to store the data of the posts and the distance between the cities . data structures like arrays , linked list are used to store the data. Screenshot (177)

3. All the input part is stored in FILE memory where data can be read or written from the file whenever required.

image

postal-consignment-system's People

Contributors

ajaykushal4 avatar chiragbiradar avatar jaswanth2003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jaswanth2003

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.