Пример #1
0
        public List <Route> NewRouteFounded(RouteSet solution, List <Route> candidates)
        {
            List <Route> newRoutes = new List <Route>();

            foreach (var item in candidates)
            {
                if (!solution.ContainsRoute(item))
                {
                    newRoutes.Add(item);
                }
            }
            return(newRoutes);
        }