The weight of an application is the sum of device weight and path weight.
The path weight of an application is the sum of the weights of all the paths contained in the application. For example, APP1 has two paths, and the weight of Path1 is 3, the weight of Path2 is 5, then the path weight of the App1 is 8.
The weight of a path depends on how many devices that the path crosses on have appeared on a map, and one device weighs 1. For example, a path crosses 5 devices, only 3 of 5 devices appear on the map, then the path weight is 3.