Example #1
0
        /// <summary>
        /// Legrövidebb időre optimalizáló algoritmus lekérése
        /// </summary>
        /// <returns></returns>
        private static PathfinderAlgorithm GetShortestTimePathfinder()
        {
            if (_pathfinder_ShortestTime == null)
            {
                _pathfinder_ShortestTime = new Dijkstra.FastDijkstraPathfinder();
            }

            return _pathfinder_ShortestTime;
        }
Example #2
0
        /// <summary>
        /// Legrövidebb időre optimalizáló algoritmus lekérése
        /// </summary>
        /// <returns></returns>
        private static PathfinderAlgorithm GetShortestTimePathfinder()
        {
            if (_pathfinder_ShortestTime == null)
            {
                _pathfinder_ShortestTime = new Dijkstra.FastDijkstraPathfinder();
            }

            return(_pathfinder_ShortestTime);
        }
Example #3
0
 /// <summary>
 /// Inicializálja az összes útvonalkereső algoritmust
 /// </summary>
 public static void InitializePathfinders()
 {
     _pathfinder_ShortestTime = new Dijkstra.FastDijkstraPathfinder();
 }
Example #4
0
 /// <summary>
 /// Inicializálja az összes útvonalkereső algoritmust
 /// </summary>
 public static void InitializePathfinders()
 {
     _pathfinder_ShortestTime = new Dijkstra.FastDijkstraPathfinder();
 }