Modifier and Type | Class and Description |
---|---|
class |
SimpleBooleanEncodedValue
This class implements a simple boolean storage via an UnsignedIntEncodedValue with 1 bit.
|
Modifier and Type | Method and Description |
---|---|
static BooleanEncodedValue |
GetOffBike.create() |
static BooleanEncodedValue |
Roundabout.create() |
static BooleanEncodedValue |
Subnetwork.create(String prefix) |
static BooleanEncodedValue |
VehicleAccess.create(String name) |
BooleanEncodedValue |
EncodedValueLookup.getBooleanEncodedValue(String key) |
Modifier and Type | Method and Description |
---|---|
boolean |
VirtualEdgeIteratorState.get(BooleanEncodedValue property) |
boolean |
VirtualEdgeIteratorState.getReverse(BooleanEncodedValue property) |
EdgeIteratorState |
VirtualEdgeIteratorState.set(BooleanEncodedValue property,
boolean value) |
EdgeIteratorState |
VirtualEdgeIteratorState.set(BooleanEncodedValue property,
boolean fwd,
boolean bwd) |
EdgeIteratorState |
VirtualEdgeIteratorState.setReverse(BooleanEncodedValue property,
boolean value) |
Constructor and Description |
---|
PrepareJob(BooleanEncodedValue subnetworkEnc,
Weighting weighting) |
Modifier and Type | Field and Description |
---|---|
protected BooleanEncodedValue |
VehicleTagParser.accessEnc |
protected BooleanEncodedValue |
VehicleTagParser.roundaboutEnc |
Modifier and Type | Method and Description |
---|---|
BooleanEncodedValue |
VehicleEncodedValues.getAccessEnc() |
BooleanEncodedValue |
AccessFilter.getAccessEnc() |
BooleanEncodedValue |
VehicleTagParser.getAccessEnc() |
BooleanEncodedValue |
EncodingManager.getBooleanEncodedValue(String key) |
Modifier and Type | Method and Description |
---|---|
static AccessFilter |
AccessFilter.allEdges(BooleanEncodedValue accessEnc)
Accepts all edges that are either forward or backward for the given flag encoder.
|
static void |
UrbanDensityCalculator.calcUrbanDensity(Graph graph,
EnumEncodedValue<UrbanDensity> urbanDensityEnc,
EnumEncodedValue<RoadClass> roadClassEnc,
BooleanEncodedValue roadClassLinkEnc,
double residentialAreaRadius,
double residentialAreaSensitivity,
double cityAreaRadius,
double cityAreaSensitivity,
int threads)
Calculates the urban density (rural/residential/city) for all edges of the graph.
|
static AccessFilter |
AccessFilter.inEdges(BooleanEncodedValue accessEnc) |
static AccessFilter |
AccessFilter.outEdges(BooleanEncodedValue accessEnc) |
Constructor and Description |
---|
OSMGetOffBikeParser(BooleanEncodedValue getOffBikeEnc) |
OSMGetOffBikeParser(BooleanEncodedValue getOffBikeEnc,
List<String> pushBikeTags) |
OSMRoadClassLinkParser(BooleanEncodedValue linkEnc) |
OSMRoundaboutParser(BooleanEncodedValue roundaboutEnc) |
OSMTurnRelationParser(BooleanEncodedValue accessEnc,
DecimalEncodedValue turnCostEnc,
List<String> restrictions) |
Modifier and Type | Field and Description |
---|---|
protected BooleanEncodedValue |
AbstractWeighting.accessEnc |
Modifier and Type | Method and Description |
---|---|
static CustomWeighting |
CustomModelParser.createWeighting(BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
DecimalEncodedValue priorityEnc,
EncodedValueLookup lookup,
TurnCostProvider turnCostProvider,
CustomModel customModel) |
Constructor and Description |
---|
CustomWeighting(BooleanEncodedValue baseAccessEnc,
DecimalEncodedValue baseSpeedEnc,
TurnCostProvider turnCostProvider,
com.graphhopper.routing.weighting.custom.CustomWeighting.Parameters parameters) |
Modifier and Type | Field and Description |
---|---|
static BooleanEncodedValue |
EdgeIteratorState.REVERSE_STATE
This method can be used to fetch the internal reverse state of an edge.
|
static BooleanEncodedValue |
EdgeIteratorState.UNFAVORED_EDGE |
Modifier and Type | Method and Description |
---|---|
static void |
GHUtility.addRandomTurnCosts(Graph graph,
long seed,
BooleanEncodedValue accessEnc,
DecimalEncodedValue turnCostEnc,
int maxTurnCost,
TurnCostStorage turnCostStorage) |
static void |
GHUtility.buildRandomGraph(Graph graph,
Random random,
int numNodes,
double meanDegree,
boolean allowLoops,
boolean allowZeroDistance,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
Double speed,
double pNonZeroLoop,
double pBothDir,
double pRandomDistanceOffset) |
boolean |
GHUtility.DisabledEdgeIterator.get(BooleanEncodedValue property) |
boolean |
EdgeIteratorState.get(BooleanEncodedValue property) |
boolean |
GHUtility.DisabledEdgeIterator.getReverse(BooleanEncodedValue property) |
boolean |
EdgeIteratorState.getReverse(BooleanEncodedValue property) |
static void |
GHUtility.printGraphForUnitTest(Graph g,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc) |
static void |
GHUtility.printGraphForUnitTest(Graph g,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
BBox bBox) |
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.set(BooleanEncodedValue property,
boolean value) |
EdgeIteratorState |
EdgeIteratorState.set(BooleanEncodedValue property,
boolean value) |
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.set(BooleanEncodedValue property,
boolean fwd,
boolean bwd) |
EdgeIteratorState |
EdgeIteratorState.set(BooleanEncodedValue property,
boolean fwd,
boolean bwd) |
EdgeIteratorState |
GHUtility.DisabledEdgeIterator.setReverse(BooleanEncodedValue property,
boolean value) |
EdgeIteratorState |
EdgeIteratorState.setReverse(BooleanEncodedValue property,
boolean value) |
static EdgeIteratorState |
GHUtility.setSpeed(double averageSpeed,
boolean fwd,
boolean bwd,
BooleanEncodedValue accessEnc,
DecimalEncodedValue avSpeedEnc,
EdgeIteratorState edge) |
static void |
GHUtility.setSpeed(double fwdSpeed,
double bwdSpeed,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
Collection<EdgeIteratorState> edges) |
static void |
GHUtility.setSpeed(double fwdSpeed,
double bwdSpeed,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
EdgeIteratorState... edges) |
static IntsRef |
GHUtility.setSpeed(double fwdSpeed,
double bwdSpeed,
BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
IntsRef edgeFlags) |
Constructor and Description |
---|
BooleanDetails(String name,
BooleanEncodedValue boolEnc) |
Copyright © 2012–2022. All rights reserved.