returns the number of obstacles on this road network . concode_field_sep boolean hasVariableMessageSign concode_elem_sep Logger LOG concode_elem_sep String name concode_elem_sep boolean isWithCrashExit concode_elem_sep ArrayList<RoadSegment> roadSegments concode_field_sep void setName concode_elem_sep RoadSegment add concode_elem_sep void setHasVariableMessageSign concode_elem_sep int getStoppedVehicleCount concode_elem_sep double instantaneousFuelUsedLiters concode_elem_sep void clear concode_elem_sep void setWithCrashExit concode_elem_sep double instantaneousTravelTime concode_elem_sep boolean assertInvariant concode_elem_sep void onLowMemory concode_elem_sep double totalVehicleTravelTime concode_elem_sep double totalVehicleTravelTime concode_elem_sep boolean hasVariableMessageSign concode_elem_sep double totalVehicleTravelDistance concode_elem_sep double totalVehicleTravelDistance concode_elem_sep Iterator<RoadSegment> iterator concode_elem_sep int size concode_elem_sep void timeStep concode_elem_sep int vehicleCount concode_elem_sep int vehicleCount concode_elem_sep double vehiclesMeanSpeed concode_elem_sep RoadSegment findById concode_elem_sep String name concode_elem_sep RoadSegment findByUserId concode_elem_sep double totalVehicleFuelUsedLiters
int function ( ) { int loc0 = 0 ; for ( final RoadSegment loc1 : roadSegments ) { loc0 += loc1 . loc0 ( ) ; } return loc0 ; }