Exemplo n.º 1
0
        private (List <int>, long) BFS(Network network, int source, int sink, int size)
        {
            long X = long.MaxValue;

            bool[]        marked = new bool[size];
            (long, int)[] parent = new (long, int)[size]; // end : (start, edgeID)