This repository contains a project that assigns drivers to addresses based on an algorithm designed to find the most efficient driver-to-address assignment.
The project aims to streamline the process of assigning drivers to addresses by utilizing an efficient algorithm. By providing a list of addresses and driver names, the program determines the optimal assignment of drivers to addresses.
-
Install Node.js: Make sure you have Node.js installed on your system. You can download and install it from the official Node.js website: Node.js Download.
-
Add Addresses: Populate the
data/StreetAddress.txt
file with addresses in the formatAddress, City, State, Zip
, each on a new line -
Add Driver Names: List the names of drivers in the
data/DriverNames.txt
file, including both first and last names, each on a new line.
-
Navigate to the directory where you've cloned the repository.
-
Run the following command in your terminal: node index.js