Modifier and Type | Class and Description |
---|---|
class |
UnsignedDecimalEncodedValue
This class holds a decimal value and stores it as an unsigned integer value via a conversion factor and a maximum number
of bits.
|
Modifier and Type | Method and Description |
---|---|
static DecimalEncodedValue |
MaxWeight.create()
Currently enables to store 0.1 to max=0.1*2⁸ tons and infinity.
|
static DecimalEncodedValue |
MaxLength.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.
|
static DecimalEncodedValue |
MaxSpeed.create() |
static DecimalEncodedValue |
MaxWidth.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.
|
static DecimalEncodedValue |
MaxAxleLoad.create()
Currently enables to store 0.5 to max=0.5*2⁷ tons and infinity.
|
static DecimalEncodedValue |
MaxHeight.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.
|
static DecimalEncodedValue |
TurnCost.create(String name,
int maxTurnCosts)
This creates an EncodedValue specifically for the turn costs
|
DecimalEncodedValue |
EncodedValueLookup.getDecimalEncodedValue(String key) |
Modifier and Type | Method and Description |
---|---|
double |
VirtualEdgeIteratorState.get(DecimalEncodedValue property) |
double |
VirtualEdgeIteratorState.getReverse(DecimalEncodedValue property) |
EdgeIteratorState |
VirtualEdgeIteratorState.set(DecimalEncodedValue property,
double value) |
EdgeIteratorState |
VirtualEdgeIteratorState.setReverse(DecimalEncodedValue property,
double value) |
Modifier and Type | Field and Description |
---|---|
protected DecimalEncodedValue |
AbstractFlagEncoder.avgSpeedEnc |
Modifier and Type | Method and Description |
---|---|
DecimalEncodedValue |
AbstractFlagEncoder.getAverageSpeedEnc() |
DecimalEncodedValue |
FlagEncoder.getAverageSpeedEnc()
This method returns the EncodedValue used for the average speed of this encoder.
|
DecimalEncodedValue |
AbstractFlagEncoder.getDecimalEncodedValue(String key) |
DecimalEncodedValue |
EncodingManager.getDecimalEncodedValue(String key) |
Modifier and Type | Field and Description |
---|---|
protected DecimalEncodedValue |
OSMMaxSpeedParser.carMaxSpeedEnc |
Constructor and Description |
---|
OSMMaxAxleLoadParser(DecimalEncodedValue maxAxleLoadEncoder) |
OSMMaxHeightParser(DecimalEncodedValue heightEncoder) |
OSMMaxLengthParser(DecimalEncodedValue lengthEncoder) |
OSMMaxSpeedParser(DecimalEncodedValue carMaxSpeedEnc) |
OSMMaxWeightParser(DecimalEncodedValue weightEncoder) |
OSMMaxWidthParser(DecimalEncodedValue widthEncoder) |
Modifier and Type | Method and Description |
---|---|
static void |
OSMValueExtractor.extractMeter(IntsRef edgeFlags,
ReaderWay way,
DecimalEncodedValue valueEncoder,
List<String> keys) |
static void |
OSMValueExtractor.extractTons(IntsRef edgeFlags,
ReaderWay way,
DecimalEncodedValue valueEncoder,
List<String> keys) |
Modifier and Type | Field and Description |
---|---|
protected DecimalEncodedValue |
AbstractWeighting.avSpeedEnc |
Modifier and Type | Method and Description |
---|---|
double |
TurnCostStorage.get(DecimalEncodedValue turnCostEnc,
int fromEdge,
int viaNode,
int toEdge) |
double |
TurnCostStorage.TurnRelationIterator.getCost(DecimalEncodedValue encodedValue) |
void |
TurnCostStorage.set(DecimalEncodedValue turnCostEnc,
int fromEdge,
int viaNode,
int toEdge,
double cost)
Sets the turn cost at the viaNode when going from "fromEdge" to "toEdge"
WARNING: It is tacitly assumed that for every encoder, this method is only called once per turn relation.
|
Modifier and Type | Method and Description |
---|---|
static void |
GHUtility.buildRandomGraph(Graph graph,
Random random,
int numNodes,
double meanDegree,
boolean allowLoops,
boolean allowZeroDistance,
DecimalEncodedValue randomSpeedEnc,
double pNonZeroLoop,
double pBothDir,
double pRandomOffset) |
double |
EdgeIteratorState.get(DecimalEncodedValue property) |
double |
GHUtility.DisabledEdgeIterator.get(DecimalEncodedValue property) |
double |
EdgeIteratorState.getReverse(DecimalEncodedValue property) |
double |
GHUtility.DisabledEdgeIterator.getReverse(DecimalEncodedValue property) |
EdgeIteratorState |
EdgeIteratorState.set(DecimalEncodedValue property,
double value) |
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.set(DecimalEncodedValue property,
double value) |
EdgeIteratorState |
EdgeIteratorState.setReverse(DecimalEncodedValue property,
double value) |
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.setReverse(DecimalEncodedValue property,
double value) |
Constructor and Description |
---|
DecimalDetails(String name,
DecimalEncodedValue ev) |
DecimalDetails(String name,
DecimalEncodedValue ev,
String infinityJsonValue,
double precision) |
Copyright © 2012–2020. All rights reserved.