/// <summary> /// 算法准备阶段 /// </summary> /// <param name="nodeList"></param> /// <param name="count"></param> public static void AlgorithmPreparation(NodeList nodeList, int count) { //取得节点的邻居节点 nodeList.GetNeighbourNode(nodeList); //得到网络节点的跳数 nodeList.GetNodeAllHop(nodeList, count); }