XueweiHuang / FireTruckJ_H

UVA208 solved in C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FireTruck

UVA208 solved in C#. This is one of UVA challenges. Most of solutions are based on Java or C++. I solved it C# WPF. The logic I implemented was to conduct DFS first to find eligible routes, and then I used Floydd algorithms to prune branches. it got rid of unnecessary routes to greatly improve the application performance and meet the requirement of processing time. Simple DFS will do the work, but Floydd pruning further improves the program and makes it faster. Although this program can be optimized in MVVM pattern, the main idea here is to optimize the performance rather than design pattern.

Prerequisites

  1. Visual Studio 2017
  2. Most recent .NET Framework

Installing

  1. Download or clone the repo
  2. Ensure the data file for map is inclued within program
  3. execute the program

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

*Xuewei Huang

About

UVA208 solved in C#

License:MIT License


Languages

Language:C# 100.0%