Example #1
0
 public global::PathfindingAlgorithms.Algorithms.Astar.Astar ConstructorTest(IHeuristic heuristic, IAdjacement adjacement)
 {
     global::PathfindingAlgorithms.Algorithms.Astar.Astar target
        = new global::PathfindingAlgorithms.Algorithms.Astar.Astar
              (heuristic, adjacement);
     return target;
     // TODO: добавление проверочных утверждений в метод AstarTest.ConstructorTest(IHeuristic, IAdjacement)
 }
Example #2
0
        public static global::PathfindingAlgorithms.Algorithms.Astar.Astar Create(IHeuristic heuristic_iHeuristic, IAdjacement adjacement_iAdjacement)
        {
            global::PathfindingAlgorithms.Algorithms.Astar.Astar astar
               = new global::PathfindingAlgorithms.Algorithms.Astar.Astar
                     (heuristic_iHeuristic, adjacement_iAdjacement);
            return astar;

            // TODO: Edit factory method of Astar
            // This method should be able to configure the object in all possible ways.
            // Add as many parameters as needed,
            // and assign their values to each field by using the API.
        }