Changeset 859 for applications/doprava/aimsun_bdm
- Timestamp:
- 03/08/10 19:15:45 (15 years ago)
- Location:
- applications/doprava/aimsun_bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/doprava/aimsun_bdm/tools.cpp
r825 r859 183 183 return 0; 184 184 } 185 186 int _search_index ( const int *list, int numElements, int value ) 187 { 188 int i; 189 for ( i = 0 ; i < numElements ; i++ ) 190 { 191 if ( *list == value ) break; 192 list++; 193 } 194 if ( i >= numElements ) i = -1; 195 return i; 196 197 } -
applications/doprava/aimsun_bdm/tools.h
r825 r859 17 17 ); 18 18 19 int _search_index ( const int *list, int numElements, int value ); 20 19 21 #endif