UML Design of software architecture

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.