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.PrepareEdge
getNextIn
(int base) com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge
getNextOut
(int base) int
getNodeA()
int
getNodeB()
int
int
int
int
int
int
int
int
double
double
boolean
void
setNextIn
(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) void
setNextOut
(int base, com.graphhopper.routing.ch.CHPreparationGraph.PrepareEdge prepareEdge) void
setOrigEdgeCount
(int origEdgeCount) void
setSkipped1
(int skipped1) void
setSkipped2
(int skipped2) void
setWeight
(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
-