Module org.jgrapht.core
Package org.jgrapht.alg.shortestpath
Class ContractionHierarchyPrecomputation.VertexStatistics
- java.lang.Object
-
- org.jgrapht.alg.shortestpath.ContractionHierarchyPrecomputation.VertexStatistics
-
- Enclosing class:
- ContractionHierarchyPrecomputation<V,E>
private static class ContractionHierarchyPrecomputation.VertexStatistics extends java.lang.ObjectContains statistics corresponding to a vertex incontractionGraphneeded to compute its priority.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intaddedContractionEdgesNumber of edges added to thecontractionGraphin case this vertex is contracted.(package private) intaddedOriginalEdgesSum of the complexities of edges added to thecontractionGraphin case this vertex is contracted.(package private) intremovedContractionEdgesNumber of edges removed to thecontractionGraphin case this vertex is contracted.(package private) intremovedOriginalEdgesSum of the complexities of edges removed from thecontractionGraphin case this vertex is contracted.
-
Constructor Summary
Constructors Modifier Constructor Description privateVertexStatistics()
-
-
-
Field Detail
-
addedContractionEdges
int addedContractionEdges
Number of edges added to thecontractionGraphin case this vertex is contracted.
-
removedContractionEdges
int removedContractionEdges
Number of edges removed to thecontractionGraphin case this vertex is contracted.
-
addedOriginalEdges
int addedOriginalEdges
Sum of the complexities of edges added to thecontractionGraphin case this vertex is contracted. The complexity of an edge as the number of edges it represents in the originalgraph.
-
removedOriginalEdges
int removedOriginalEdges
Sum of the complexities of edges removed from thecontractionGraphin case this vertex is contracted. The complexity of an edge as the number of edges it represents in the originalgraph.
-
-