Description: (Basic function)
User_enter class: Implement user input information acquisition
Member variables: number--record the number of attractions selected by the user
select--List of selected attractions for users
Function: GetNumber ()--Get the number of places the user has entered
Setready ()--confirmation after the user selects the attraction, return to the list of attractions
Route class: Implementing a Background algorithm run
Member Variable: select--incoming list of attractions
Function: RUNTSP ()--run the TSP algorithm to plan the best route
Time ()--Calculation times
Cost ()--Calculating expenses
Trans ()--Planning a transfer (if the vehicle is a bus)
Admin class: Implement administrator actions (update data, find data)
Member Variable: start--start
end--End
Function: Table ()--Build table
Select (start,end)--Choose a route based on the starting point and focus
Check ()--Checks if the network is connected
Control class: An interface for all components interacting with data
Functions: Control ()--processing requests for other classes of data
Additional Features:
Change class: Statically provided routes are affected by traffic conditions at the time, and through this class, a reasonable re-planning route
Method: Gettraffic ()--Get current traffic information, re-plan
File class: Saving information
Method: Mail ()--Send the planning route to the user by mail
TextMessage ()--send the planned route to the user in SMS form
Introduce class: Introduction to Attractions
Method: Introduce ()--Introduction of the attraction
UML Design of software architecture