public class RestrictionSetter extends Object
Constructor and Description |
---|
RestrictionSetter(BaseGraph baseGraph) |
Modifier and Type | Method and Description |
---|---|
com.carrotsearch.hppc.IntIntMap |
getArtificialEdgesByEdges() |
void |
setRestrictions(List<Pair<GraphRestriction,RestrictionType>> restrictions,
BooleanEncodedValue turnRestrictionEnc)
Adds all the turn restriction entries to the graph that are needed to enforce the given restrictions, for
a single turn cost encoded value.
|
public RestrictionSetter(BaseGraph baseGraph)
public void setRestrictions(List<Pair<GraphRestriction,RestrictionType>> restrictions, BooleanEncodedValue turnRestrictionEnc)
public com.carrotsearch.hppc.IntIntMap getArtificialEdgesByEdges()
Copyright © 2012–2023. All rights reserved.