Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

/[routino]/trunk/src/segmentsx.h
ViewVC logotype

Log of /trunk/src/segmentsx.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:


Revision 955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 28 14:40:54 2012 UTC (13 years, 1 month ago) by amb
File length: 5958 byte(s)
Diff to previous 950
Simplify and standardise the included headers.


Revision 950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 17:31:28 2012 UTC (13 years, 2 months ago) by amb
File length: 5980 byte(s)
Diff to previous 949
Add new macros to abstract the bit mask types.


Revision 949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 17:13:39 2012 UTC (13 years, 2 months ago) by amb
File length: 5980 byte(s)
Diff to previous 943
Add an infrastructure to allow adding new functions to prune nodes and segments.


Revision 943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 11:17:52 2011 UTC (13 years, 3 months ago) by amb
File length: 5716 byte(s)
Diff to previous 942
Remove the "position" parameter from the NextSegmentX() function.


Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 11:09:13 2011 UTC (13 years, 3 months ago) by amb
File length: 5729 byte(s)
Diff to previous 887
Remove the "position" parameter from the PutBack*X() functions (only used in
slim mode).


Revision 887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 31 19:09:40 2011 UTC (13 years, 4 months ago) by amb
File length: 5713 byte(s)
Diff to previous 788
Use pread() and pwrite() functions instead of seek() followed by read() or
write().


Revision 788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 18 10:54:17 2011 UTC (13 years, 9 months ago) by amb
File length: 5759 byte(s)
Diff to previous 771
Fix some more warnings from -Wextra and/or -pedantic options.


Revision 771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 4 18:11:55 2011 UTC (13 years, 9 months ago) by amb
File length: 5750 byte(s)
Diff to previous 704
Change name of function parameters to clarify what they are.


Revision 704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 16:19:10 2011 UTC (13 years, 10 months ago) by amb
File length: 5740 byte(s)
Diff to previous 681
Simplify the lookup of the segment index in slim mode.


Revision 681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 18:01:24 2011 UTC (13 years, 10 months ago) by amb
File length: 5832 byte(s)
Diff to previous 680
Make the comments more consistent.


Revision 680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 15:14:53 2011 UTC (13 years, 10 months ago) by amb
File length: 5852 byte(s)
Diff to previous 651
Update comments throughout the source code.


Revision 651 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 16:31:34 2011 UTC (14 years ago) by amb
File length: 5788 byte(s)
Diff to previous 650
Rename the xdata and xcached members of the nodesx, segmentsx and waysx
structures.


Revision 650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 15:49:21 2011 UTC (14 years ago) by amb
File length: 5791 byte(s)
Diff to previous 649
Don't have both xnumber and number in the nodesx, segmentsx, waysx and
relationsx structures.


Revision 649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 27 15:22:04 2011 UTC (14 years ago) by amb
File length: 5849 byte(s)
Diff to previous 646
Remove a now unused array of segment indexes.


Revision 646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 19:44:56 2011 UTC (14 years ago) by amb
File length: 5939 byte(s)
Diff to previous 644
Remove a pair of functions that are no longer used and rename the other pair.


Revision 644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 17:20:40 2011 UTC (14 years ago) by amb
File length: 6084 byte(s)
Diff to previous 643
Renamed a couple of functions for clarity.


Revision 643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 26 16:37:14 2011 UTC (14 years ago) by amb
File length: 6089 byte(s)
Diff to previous 558
Go back to the internal structure used (but reverted) during version 1.2
development where each segment is stored only once.  This halves the memory
usage (mmap files or just files) for planetsplitter.  This is allowed because a
new algorithm to create the node to segment indexes makes it simpler now that it
was.  This change is required so that super-node/segment optimisation doesn't
remove mutual loops.  This change doesn't handle turn restrictions yet.


Revision 558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 19:25:03 2010 UTC (14 years, 2 months ago) by amb
File length: 6252 byte(s)
Diff to previous 557
Handle the SegmentX Segment in the same way as the other data structures (map
into memory when used, open/close the file if slim).  Create the real nodes
without mapping the segments into memory.


Revision 557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 19:11:02 2010 UTC (14 years, 2 months ago) by amb
File length: 6252 byte(s)
Diff to previous 552
Make the PutBack*() functions be no-ops in slim mode and remove the
pre-processor guards from around the function calls.


Revision 552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 17:38:29 2010 UTC (14 years, 2 months ago) by amb
File length: 6184 byte(s)
Diff to previous 544
Don't maintain a copy of the whole set of Nodes along with the NodeXs but
generate the Node from the NodeX when written to disk.  Create a lookup table
between the original index and the geographically sorted index.


Revision 544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 18 19:17:26 2010 UTC (14 years, 3 months ago) by amb
File length: 6178 byte(s)
Diff to previous 539
Duplicate the IndexFirstSegmentX() and IndexNextSegmentX() functions to create
two distinct one for use at different times.


Revision 539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 5 14:43:37 2010 UTC (14 years, 3 months ago) by amb
File length: 6038 byte(s)
Diff to previous 465
Updated the comments for clarity.


Revision 465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 14:36:15 2010 UTC (14 years, 7 months ago) by amb
File length: 5895 byte(s)
Diff to previous 464
Change the data types to index_t where they are counting nodes/segments/ways.


Revision 464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 14:06:56 2010 UTC (14 years, 7 months ago) by amb
File length: 5895 byte(s)
Diff to previous 452
Ensure that seeking within a file uses a 64-bit offset.


Revision 452 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jul 14 18:00:10 2010 UTC (14 years, 8 months ago) by amb
File length: 5874 byte(s)
Diff to previous 451
Replaced the runtime selection of slim mode / non-slim mode with compile time
selection that gives no runtime overhead but gives two executables.



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.

  Diffs between and
  Type of Diff should be a