Package com.graphhopper.routing.ch
Class PrepareEncoder
java.lang.Object
com.graphhopper.routing.ch.PrepareEncoder
The flags are stored differently for shortcuts: just one weight and the two direction bits which is handled by this
class for now as static methods.
- Author:
- Peter Karich
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
The bit for backward directionstatic int
A bitmask for two directionsstatic int
The bit for forward direction
-
Constructor Details
-
PrepareEncoder
public PrepareEncoder()
-
-
Method Details
-
getScDirMask
public static int getScDirMask()A bitmask for two directions -
getScFwdDir
public static int getScFwdDir()The bit for forward direction -
getScBwdDir
public static int getScBwdDir()The bit for backward direction
-