Class WeightedDistanceInfo
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.algorithms.shortest_paths.WeightedDistanceInfo
public class WeightedDistanceInfo extends Object
-
Constructor Summary
Constructors Constructor Description WeightedDistanceInfo(double initDistance, GraphElement sourceNode, GraphElement thisNode, boolean considerNodeWeight, boolean considerEdgeWeight, AttributePathNameSearchType weightattribute, boolean putWeightOnEdges, boolean addAttribute)
-
Method Summary
Modifier and Type Method Description boolean
allPossibleSourcePathsTraversed(boolean directed)
void
checkDistanceAndMemorizePossibleSourceElement(GraphElement workGraphElement, double distanceUntilNeighbourElement)
Collection<GraphElement>
getConnectedGraphElements(boolean directed)
GraphElement
getGraphElement()
double
getMinDistance()
Collection<GraphElement>
getSourceGraphElementsWithMinimalDistance()
-
Constructor Details
-
WeightedDistanceInfo
public WeightedDistanceInfo(double initDistance, GraphElement sourceNode, GraphElement thisNode, boolean considerNodeWeight, boolean considerEdgeWeight, AttributePathNameSearchType weightattribute, boolean putWeightOnEdges, boolean addAttribute)
-
-
Method Details
-
getGraphElement
-
getMinDistance
public double getMinDistance() -
checkDistanceAndMemorizePossibleSourceElement
public void checkDistanceAndMemorizePossibleSourceElement(GraphElement workGraphElement, double distanceUntilNeighbourElement) -
getConnectedGraphElements
-
allPossibleSourcePathsTraversed
public boolean allPossibleSourcePathsTraversed(boolean directed) -
getSourceGraphElementsWithMinimalDistance
-