Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Log of /trunk/src/prunex.c
Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Revision 1432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 28 14:41:56 2013 UTC (11 years, 8 months ago) by amb
File length: 42157 byte(s)
Diff to previous 1431
Keep the next2 pointer in memory while pruning rather than in the segmentx object.
Revision 1431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 28 14:39:14 2013 UTC (11 years, 8 months ago) by amb
File length: 41922 byte(s)
Diff to previous 1428
Revert the last three changes because r1430 didn't work and r1428+r1429 didn't give any speed advantage and was possibly marginally slower.
Revision 1428 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 27 18:29:33 2013 UTC (11 years, 8 months ago) by amb
File length: 40027 byte(s)
Diff to previous 1420
Put the next1 pointer in the segmentx object rather than in-memory.
Revision 1420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 18:16:57 2013 UTC (11 years, 8 months ago) by amb
File length: 41922 byte(s)
Diff to previous 1417
Move some printf_first() messages to the front of the function and printf_last() function to the end of the function.
Revision 1417 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 22 18:55:34 2013 UTC (11 years, 8 months ago) by amb
File length: 41922 byte(s)
Diff to previous 1410
Use SlimMapFile(), SlimUnmapFile(), SlimFetch() and SlimReplace() [see earlier log message] and also refactor the code so that the additional ways are placed in a separate file using the Slim*() functions rather than being appended to the open (or mapped) way file.
Revision 1410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 15:48:19 2013 UTC (11 years, 8 months ago) by amb
File length: 41607 byte(s)
Diff to previous 1408
Rename the functions for unbuffered file access to make this clear.
Revision 1408 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 14:43:37 2013 UTC (11 years, 8 months ago) by amb
File length: 41357 byte(s)
Diff to previous 1385
Use the new functions for buffering while reading when looping through files other than the ones already done that use the FILESORT_VARINT method of storing data.
Revision 1385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 6 17:46:08 2013 UTC (11 years, 9 months ago) by amb
File length: 41333 byte(s)
Diff to previous 1380
Fix some code that could, potentially, have given a divide by zero and which therefore behaves differently with FPU and -ffast-math compilation options.
Revision 1380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 4 19:03:55 2013 UTC (11 years, 9 months ago) by amb
File length: 41187 byte(s)
Diff to previous 1306
Remember what types of transports we have so that we don't spend time pruning for transport types we don't have.
Revision 1306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 10 18:26:51 2013 UTC (11 years, 10 months ago) by amb
File length: 41134 byte(s)
Diff to previous 1297
Change data value from unsigned to signed (pedantic compiler warning).
Revision 1297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 7 14:41:11 2013 UTC (11 years, 10 months ago) by amb
File length: 41122 byte(s)
Diff to previous 1266
Add cache functions for NodesX, SegmentsX and WaysX to speed up the planetsplitter in slim mode.
Revision 1266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 3 16:17:16 2013 UTC (12 years ago) by amb
File length: 40765 byte(s)
Diff to previous 1265
Improve the pruning of straight highways (more likely to remove larger sections).
Revision 1265 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 3 15:55:27 2013 UTC (12 years ago) by amb
File length: 41236 byte(s)
Diff to previous 1264
Add a test case for pruning straight segments. Found an error case related to loops and fixed it.
Revision 1264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 2 15:40:57 2013 UTC (12 years ago) by amb
File length: 40803 byte(s)
Diff to previous 1249
Add a test case for pruning short segments. Found some disallowed cases that had not been detected before and fixed them.
Revision 1249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 3 19:13:26 2013 UTC (12 years, 1 month ago) by amb
File length: 40375 byte(s)
Diff to previous 1208
Some trivial changes, same functionality.
Revision 1208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 16:43:03 2012 UTC (12 years, 3 months ago) by amb
File length: 40312 byte(s)
Diff to previous 1179
Stop planetsplitter crashing out in unusual ways if there is no data.
Revision 1179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 5 19:50:30 2012 UTC (12 years, 3 months ago) by amb
File length: 40247 byte(s)
Diff to previous 1168
Minor theoretical improvements to pruning (slim mode is still very slow).
Revision 1168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 09:20:57 2012 UTC (12 years, 3 months ago) by amb
File length: 40093 byte(s)
Diff to previous 1166
Revert r1164 - some super-segments are longer than 65535 metres even if no individual segment is.
Revision 1166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 16:12:08 2012 UTC (12 years, 3 months ago) by amb
File length: 39995 byte(s)
Diff to previous 1164
Replace all assert statements with a custom error message that explains the cause and suggests a solution.
Revision 1164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 15:24:30 2012 UTC (12 years, 3 months ago) by amb
File length: 39475 byte(s)
Diff to previous 1124
Replace the 32-bit combined distance and flags in the segment with 16 bits for each.
Revision 1124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 3 11:31:18 2012 UTC (12 years, 4 months ago) by amb
File length: 39573 byte(s)
Diff to previous 1122
Append the new ways directly to the end of the existing ways rather than using a new file.
Revision 1122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 3 08:58:47 2012 UTC (12 years, 4 months ago) by amb
File length: 40108 byte(s)
Diff to previous 1121
Change the UnmapFile() function to take a pointer to the data instead of the filename (like the CloseFile() function takes the file descriptor).
Revision 1121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 2 19:51:17 2012 UTC (12 years, 4 months ago) by amb
File length: 40180 byte(s)
Diff to previous 1120
Fix a bug which gave different results for slim mode and normal mode when pruning short segments.
Revision 1120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 20:00:27 2012 UTC (12 years, 4 months ago) by amb
File length: 40124 byte(s)
Diff to previous 1117
Introduce a new'--append' option for appending data from a file to the currently parsed data. Rename the intermediate file used for storing data to be appended to. Add a function to call after appending to a file which closes the file and renames it to a temporary filename which is used for the remaining processing.
Revision 1117 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Oct 24 08:35:00 2012 UTC (12 years, 4 months ago) by amb
File length: 40008 byte(s)
Diff to previous 1098
Perform the pruning for isolated regions in terms of each transport type individually.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.