src/main/java/org/apache/commons/graph/shortestpath/DefaultTargetSourceSelector.java [61:72]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            for ( WE edge : graph.getEdges() )
            {
                VertexPair<V> vertexPair = graph.getVertices( edge );
                V u = vertexPair.getHead();
                V v = vertexPair.getTail();

                if ( shortestDistances.alreadyVisited( u ) )
                {
                    W shortDist = weightOperations.append( shortestDistances.getWeight( u ), weightedEdges.map( edge ) );

                    if ( !shortestDistances.alreadyVisited( v )
                            || weightOperations.compare( shortDist, shortestDistances.getWeight( v ) ) < 0 )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/commons/graph/shortestpath/DefaultTargetSourceSelector.java [84:95]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        for ( WE edge : graph.getEdges() )
        {
            VertexPair<V> vertexPair = graph.getVertices( edge );
            V u = vertexPair.getHead();
            V v = vertexPair.getTail();

            if ( shortestDistances.alreadyVisited( u ) )
            {
                W shortDist = weightOperations.append( shortestDistances.getWeight( u ), weightedEdges.map( edge ) );

                if ( !shortestDistances.alreadyVisited( v )
                        || weightOperations.compare( shortDist, shortestDistances.getWeight( v ) ) < 0 )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



