java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.algorithms.shortest_paths.WeightedDistanceInfo

public class WeightedDistanceInfo
extends Object
  • Constructor Details

    • WeightedDistanceInfo

      public WeightedDistanceInfo​(double initDistance, GraphElement sourceNode, GraphElement thisNode, boolean considerNodeWeight, boolean considerEdgeWeight, AttributePathNameSearchType weightattribute, boolean putWeightOnEdges, boolean addAttribute)
  • Method Details

    • getGraphElement

      public GraphElement getGraphElement()
    • getMinDistance

      public double getMinDistance()
    • checkDistanceAndMemorizePossibleSourceElement

      public void checkDistanceAndMemorizePossibleSourceElement​(GraphElement workGraphElement, double distanceUntilNeighbourElement)
    • getConnectedGraphElements

      public Collection<GraphElement> getConnectedGraphElements​(boolean directed)
    • allPossibleSourcePathsTraversed

      public boolean allPossibleSourcePathsTraversed​(boolean directed)
    • getSourceGraphElementsWithMinimalDistance

      public Collection<GraphElement> getSourceGraphElementsWithMinimalDistance()