question: computes the turn cost in seconds for non-driving traversal modes . todo flamholz : this should probably account for whether there is a traffic light ? concode_field_sep Integer minRightTurnAngle concode_elem_sep Integer minLeftTurnAngle concode_elem_sep Integer maxLeftTurnAngle concode_elem_sep Double nonDrivingTurnCostFactor concode_elem_sep Integer maxRightTurnAngle concode_field_sep double computeTraversalCost concode_elem_sep boolean isRightTurn concode_elem_sep boolean isLeftTurn concode_elem_sep int calculateTurnAngle
target: double function ( IntersectionVertex arg0 , StreetEdge arg1 , StreetEdge arg2 , float arg3 , float arg4 ) { int loc0 = arg2 . getOutAngle ( ) ; int loc1 = arg1 . getInAngle ( ) ; int loc2 = Math . abs ( loc0 - loc1 ) ; if ( loc2 > 180 ) { loc2 = 360 - loc2 ; } return ( this . nonDrivingTurnCostFactor * loc2 ) / arg4 ; }