| Package | Description |
|---|---|
| com.graphhopper.routing | |
| com.graphhopper.routing.profiles | |
| com.graphhopper.routing.util | |
| com.graphhopper.storage | |
| com.graphhopper.util |
| Modifier and Type | Method and Description |
|---|---|
IntsRef |
VirtualEdgeIteratorState.getFlags() |
| Modifier and Type | Method and Description |
|---|---|
EdgeIteratorState |
VirtualEdgeIteratorState.setFlags(IntsRef flags) |
| Constructor and Description |
|---|
VirtualEdgeIteratorState(int originalEdgeKey,
int edgeId,
int baseNode,
int adjNode,
double distance,
IntsRef edgeFlags,
String name,
PointList pointList,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleBooleanEncodedValue.getBool(boolean reverse,
IntsRef ref) |
boolean |
BooleanEncodedValue.getBool(boolean reverse,
IntsRef ref) |
double |
FactorizedDecimalEncodedValue.getDecimal(boolean reverse,
IntsRef ref) |
double |
DecimalEncodedValue.getDecimal(boolean reverse,
IntsRef ref) |
double |
MappedDecimalEncodedValue.getDecimal(boolean reverse,
IntsRef ref) |
E |
EnumEncodedValue.getEnum(boolean reverse,
IntsRef ref) |
int |
SimpleIntEncodedValue.getInt(boolean reverse,
IntsRef ref) |
int |
IntEncodedValue.getInt(boolean reverse,
IntsRef ref)
This method restores the integer value from the specified 'flags' taken from the storage.
|
void |
SimpleBooleanEncodedValue.setBool(boolean reverse,
IntsRef ref,
boolean value) |
void |
BooleanEncodedValue.setBool(boolean reverse,
IntsRef ref,
boolean value) |
void |
FactorizedDecimalEncodedValue.setDecimal(boolean reverse,
IntsRef ints,
double value) |
void |
DecimalEncodedValue.setDecimal(boolean reverse,
IntsRef ref,
double value)
This method stores the specified double value (rounding with a previously defined factor) into the IntsRef.
|
void |
MappedDecimalEncodedValue.setDecimal(boolean reverse,
IntsRef ref,
double value) |
void |
EnumEncodedValue.setEnum(boolean reverse,
IntsRef ref,
E value) |
void |
SimpleIntEncodedValue.setInt(boolean reverse,
IntsRef ref,
int value) |
void |
IntEncodedValue.setInt(boolean reverse,
IntsRef ref,
int value)
This method stores the specified integer value in the specified IntsRef.
|
| Modifier and Type | Method and Description |
|---|---|
IntsRef |
EncodingManager.createEdgeFlags() |
IntsRef |
EncodingManager.flagsDefault(boolean forward,
boolean backward) |
IntsRef |
DataFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
abstract IntsRef |
AbstractFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags)
Analyze properties of a way and create the edge flags.
|
IntsRef |
TagParser.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
MotorcycleFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access accept,
long priorityFromRelation) |
IntsRef |
BikeCommonFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
FootFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
CarFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access accept,
long relationFlags) |
IntsRef |
EncodingManager.handleWayTags(ReaderWay way,
EncodingManager.AcceptWay acceptWay,
long relationFlags)
Processes way properties of different kind to determine speed and direction.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DataFlagEncoder.flagsDefault(IntsRef edgeFlags,
boolean forward,
boolean backward) |
protected void |
AbstractFlagEncoder.flagsDefault(IntsRef edgeFlags,
boolean forward,
boolean backward)
Sets default flags with specified access.
|
SpatialRule.Access |
DataFlagEncoder.getAccessValue(IntsRef flags) |
InstructionAnnotation |
DataFlagEncoder.getAnnotation(IntsRef flags,
Translation tr) |
InstructionAnnotation |
AbstractFlagEncoder.getAnnotation(IntsRef edgeFlags,
Translation tr) |
InstructionAnnotation |
BikeCommonFlagEncoder.getAnnotation(IntsRef edgeFlags,
Translation tr) |
InstructionAnnotation |
FlagEncoder.getAnnotation(IntsRef intsRef,
Translation tr) |
int |
DataFlagEncoder.getSpatialId(IntsRef flags)
This method returns the spatialId stored in the specified flags or -1 if not enabled for this encoder.
|
protected void |
Bike2WeightFlagEncoder.handleSpeed(IntsRef edgeFlags,
ReaderWay way,
double speed) |
protected void |
BikeCommonFlagEncoder.handleSpeed(IntsRef edgeFlags,
ReaderWay way,
double speed) |
IntsRef |
DataFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
abstract IntsRef |
AbstractFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags)
Analyze properties of a way and create the edge flags.
|
IntsRef |
TagParser.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
MotorcycleFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access accept,
long priorityFromRelation) |
IntsRef |
BikeCommonFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
FootFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access,
long relationFlags) |
IntsRef |
CarFlagEncoder.handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access accept,
long relationFlags) |
boolean |
DataFlagEncoder.isTransportModeFord(IntsRef edgeFlags) |
void |
DataFlagEncoder.setSpatialId(IntsRef flags,
int id)
This method set the spatial ID (e.g.
|
protected void |
DataFlagEncoder.setSpeed(boolean reverse,
IntsRef edgeFlags,
double speed) |
protected void |
AbstractFlagEncoder.setSpeed(boolean reverse,
IntsRef edgeFlags,
double speed)
Most use cases do not require this method.
|
| Modifier and Type | Field and Description |
|---|---|
static IntsRef |
IntsRef.EMPTY
An IntsRef with an array of size 0.
|
| Modifier and Type | Method and Description |
|---|---|
static IntsRef |
IntsRef.deepCopyOf(IntsRef other)
Creates a new IntsRef that points to a copy of the ints from
other |
| Modifier and Type | Method and Description |
|---|---|
int |
IntsRef.compareTo(IntsRef other)
Signed int order comparison
|
static IntsRef |
IntsRef.deepCopyOf(IntsRef other)
Creates a new IntsRef that points to a copy of the ints from
other |
boolean |
IntsRef.intsEquals(IntsRef other) |
| Modifier and Type | Method and Description |
|---|---|
IntsRef |
EdgeIteratorState.getFlags()
Returns edge properties stored in direction of the raw database layout.
|
IntsRef |
GHUtility.DisabledEdgeIterator.getFlags() |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double averageSpeed,
boolean fwd,
boolean bwd) |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double fwdSpeed,
double bwdSpeed) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeIteratorState |
GHUtility.createMockedEdgeIteratorState(double distance,
IntsRef flags) |
EdgeIteratorState |
EdgeIteratorState.setFlags(IntsRef edgeFlags)
Stores the specified edgeFlags down to the DataAccess
|
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.setFlags(IntsRef flags) |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double averageSpeed,
boolean fwd,
boolean bwd) |
static IntsRef |
GHUtility.setProperties(IntsRef edgeFlags,
FlagEncoder encoder,
double fwdSpeed,
double bwdSpeed) |
String |
BitUtil.toBitString(IntsRef intsRef) |
Copyright © 2012–2019. All rights reserved.