Esempio n. 1
0
        public bool IsEdgeRedundant(TEdgeId edgeId)
        {
            var edge  = GetEdge(edgeId);
            var paths = _graph.GetShortestPaths(edge.Source, edge.Target, 2);

            return(paths.Count() > 1);
        }