Runt
2021-01-04 0e8ecae4a1140c5e23475bbd589f591208e9ed65
app/src/main/java/com/demo/navtogether/utils/PathPlan.java
@@ -7,7 +7,7 @@
import java.util.TreeMap;
/**
 * My father is Object, ites purpose of 线路规划
 * My father is Object, ites purpose of 距离
 *
 * @purpose Created by Runt (qingingrunt2010@qq.com) on 2020-12-23.
 */
@@ -40,7 +40,7 @@
        public Point point;
        //权重,优先权
        public int priority;
        //上一站距離
        //上一站距離,计算时补充,初始化为0
        public double distance;
        public Place(Place place){
@@ -78,8 +78,8 @@
     * 距离
     */
    public static class Distance{
        public Place place;
        public HashMap<Place,Double> distanceMap = new HashMap();
        public Place place;//地点
        public HashMap<Place,Double> distanceMap = new HashMap();//保存与其他所有地点的距离集合
        public Distance(Place place ) {
            this.place = place;
        }