Package com.graphhopper.routing.ch
Class CHPreparationGraph.PrepareBaseEdge
java.lang.Object
com.graphhopper.routing.ch.CHPreparationGraph.PrepareBaseEdge
- Enclosing class:
CHPreparationGraph
-
Constructor Summary
ConstructorsConstructorDescriptionPrepareBaseEdge(int prepareEdge, int nodeA, int nodeB, float weightAB, float weightBA) -
Method Summary
Modifier and TypeMethodDescriptioncom.graphhopper.routing.ch.CHPreparationGraph.PrepareEdgegetNextIn(int base) com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdgegetNextOut(int base) intgetNodeA()intgetNodeB()intintintintintintintintdoubledoublebooleanvoidsetNextIn(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) voidsetNextOut(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) voidsetOrigEdgeCount(int origEdgeCount) voidsetSkipped1(int skipped1) voidsetSkipped2(int skipped2) voidsetWeight(double weight) toString()
-
Constructor Details
-
PrepareBaseEdge
public PrepareBaseEdge(int prepareEdge, int nodeA, int nodeB, float weightAB, float weightBA)
-
-
Method Details
-
isShortcut
public boolean isShortcut() -
getPrepareEdge
public int getPrepareEdge() -
getNodeA
public int getNodeA() -
getNodeB
public int getNodeB() -
getWeightAB
public double getWeightAB() -
getWeightBA
public double getWeightBA() -
getOrigEdgeKeyFirstAB
public int getOrigEdgeKeyFirstAB() -
getOrigEdgeKeyFirstBA
public int getOrigEdgeKeyFirstBA() -
getOrigEdgeKeyLastAB
public int getOrigEdgeKeyLastAB() -
getOrigEdgeKeyLastBA
public int getOrigEdgeKeyLastBA() -
getSkipped1
public int getSkipped1() -
getSkipped2
public int getSkipped2() -
getOrigEdgeCount
public int getOrigEdgeCount() -
setSkipped1
public void setSkipped1(int skipped1) -
setSkipped2
public void setSkipped2(int skipped2) -
setWeight
public void setWeight(double weight) -
setOrigEdgeCount
public void setOrigEdgeCount(int origEdgeCount) -
getNextOut
public com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge getNextOut(int base) -
setNextOut
public void setNextOut(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) -
getNextIn
public com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge getNextIn(int base) -
setNextIn
public void setNextIn(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) -
toString
-