tsp_route_finder 0.0.2
tsp_route_finder: ^0.0.2 copied to clipboard
A package for solving the Traveling Salesman Problem (TSP)
TSP Package #
TSP Package is a Dart package that provides a solution for the Traveling Salesman Problem (TSP). It includes an implementation of the Nearest Neighbor algorithm to find an approximate solution for the TSP route based on a list of locations.
Features #
- Calculate the Traveling Salesman Problem (TSP) route using the Nearest Neighbor algorithm.
- Support for calculating routes based on latitude and longitude coordinates using the
google_maps_flutterpackage.
Getting Started #
To start using the TSP Package, make sure you have added it as a dependency in your Dart project's pubspec.yaml file. For example:
Example #
This package includes an example that demonstrates how to use the main features of the package.
To run the example, follow these steps:
- Ensure that you have the required dependencies listed in the
pubspec.yamlfile. - Open the
example/example_usage.dartfile. - Run the code to see the output in the console.
dependencies:
tsp_route_finder: ^0.0.1