diff --git a/Contractor/EdgeBasedGraphFactory.cpp b/Contractor/EdgeBasedGraphFactory.cpp index 96d69a647..9d8d4df5a 100644 --- a/Contractor/EdgeBasedGraphFactory.cpp +++ b/Contractor/EdgeBasedGraphFactory.cpp @@ -313,10 +313,10 @@ void EdgeBasedGraphFactory::Run(const char * originalEdgeDataFilename) { short turnInstruction = AnalyzeTurn(u, v, w); if(turnInstruction == TurnInstructions.UTurn) distance += uturnPenalty; - if(!edgeData1.isAccessRestricted && edgeData2.isAccessRestricted) { - distance += TurnInstructions.AccessRestrictionPenalty; - turnInstruction |= TurnInstructions.AccessRestrictionFlag; - } +// if(!edgeData1.isAccessRestricted && edgeData2.isAccessRestricted) { +// distance += TurnInstructions.AccessRestrictionPenalty; +// turnInstruction |= TurnInstructions.AccessRestrictionFlag; +// } //distance += heightPenalty;