Commit Graph

84 Commits

Author SHA1 Message Date
Adam Wulkiewicz
30d54874ae rtree: test generator newline added
[SVN r83111]
2013-02-24 00:10:10 +00:00
Adam Wulkiewicz
d418dac57f rtree predefined translator renamed to index::translator<>
index::translator::def<> renamed to index::translator<>
index::translator::index<> removed
translator helpers removed or moved to index::default::translator namespace
some unneeded includes removed
docs updated

[SVN r83077]
2013-02-22 03:23:41 +00:00
Adam Wulkiewicz
b09c83883d rtree: translator_wrapper removed,
detail::rtree::ptr_pair used in internal nodes instead of std::pair.

[SVN r83000]
2013-02-19 14:20:06 +00:00
Adam Wulkiewicz
24626df0cf rtree: unneeded allocators removed from members.
[SVN r82924]
2013-02-16 14:54:52 +00:00
Adam Wulkiewicz
cb38c7b034 rtree object size decreased by deriving allocators holder from allocators
[SVN r82918]
2013-02-16 01:21:32 +00:00
Adam Wulkiewicz
bf815512cc tests and examples files structure rearranged
[SVN r82872]
2013-02-14 14:23:09 +00:00
Adam Wulkiewicz
214e9e8286 rtree errors fixes related to non-std allocator pointers usage
[SVN r82866]
2013-02-14 04:34:34 +00:00
Adam Wulkiewicz
b7f592f1f4 rtree non-std allocators support implemented.
interprocess test added.

[SVN r82864]
2013-02-14 01:11:17 +00:00
Adam Wulkiewicz
ad50724a45 some tests modified to be able to use non-std allocator
[SVN r82851]
2013-02-13 15:08:15 +00:00
Adam Wulkiewicz
1b806fc797 compilation errors related to detail::rtree::get fixed
[SVN r82850]
2013-02-13 14:57:43 +00:00
Adam Wulkiewicz
6b270d31ec raw pointers replaced by allocator pointer
[SVN r82849]
2013-02-13 14:33:11 +00:00
Adam Wulkiewicz
eb78310bc7 Added rtree_interprocess test (doesn't executed for now), error fixed in detail::varray
[SVN r82837]
2013-02-12 18:24:13 +00:00
Adam Wulkiewicz
8c6081100a Removed
spatial_query(), nearest_query(),
related adaptors,
distance predicates generators bounded(), min_bounded() etc.,
detail static_vector renamed to varray.
Docs and tests updated.



[SVN r82824]
2013-02-11 19:11:41 +00:00
Adam Wulkiewicz
a90b56de26 boost::container::vector used in dynamic nodes. detail::static_vector renamed to detail::varray. Added Alloc parameter to varray. rtree::envelope() renamed to rtree::bounds(). Tests moddified. Docs tweaked.
[SVN r82766]
2013-02-06 20:56:29 +00:00
Adam Wulkiewicz
dfb33baede Implemented all variants of rtree::query() method. spatial and nearest returning 1 and k values.
[SVN r82600]
2013-01-24 22:24:58 +00:00
Adam Wulkiewicz
26e9526564 boost/geometry/extensions/index/* moved to boost/geometry/index/*
rtree::box() renamed to rtree::envelope()
index::box() renamed to index::envelope()
some unneeded tests removed
docs updated

[SVN r82546]
2013-01-19 02:26:34 +00:00
Adam Wulkiewicz
4233d851c4 index/algorithms/* moved to index/detail/algorithms/*
[SVN r82545]
2013-01-19 01:15:55 +00:00
Adam Wulkiewicz
017e910bbe area and perimeter tested only for 2d
[SVN r82540]
2013-01-18 21:50:28 +00:00
Adam Wulkiewicz
be5a049248 added test for rtree envelope, area, perimeter, centroid
[SVN r82539]
2013-01-18 21:23:25 +00:00
Adam Wulkiewicz
ca17094850 indexable traits and accessors moved to index::detail namespace
[SVN r82538]
2013-01-18 21:18:32 +00:00
Adam Wulkiewicz
b830ec1cdb Files structure rearranged to better reflect namespace strcture. Some classes moved to different namespaces.
[SVN r82536]
2013-01-18 20:40:24 +00:00
Adam Wulkiewicz
392ac1a864 Options, functions: check_predicates(), are_boxes_ok(), are_levels_ok() moved to the index::detail namespace.
query_expr.hpp deleted.

[SVN r82523]
2013-01-17 15:19:40 +00:00
Adam Wulkiewicz
28a9448da5 Box stored in the rtree.
box() returns box_type const&.
rtree adapted to Box concept.
error in remove() fixed - size change if the Value wasn't removed.
Tests added.



[SVN r82515]
2013-01-17 03:54:52 +00:00
Adam Wulkiewicz
ba0c1b840f static_vector test moddified, added generated reference files
[SVN r82422]
2013-01-09 18:33:43 +00:00
Adam Wulkiewicz
383036d1d6 error in rtree exceptions test fixed (adaptation to the new allocator concept).
[SVN r82417]
2013-01-09 15:09:06 +00:00
Adam Wulkiewicz
e72e9bcfad Added move ctors and swap() to nodes allocators. Used those in rtree move ctor and swap(). Docs: added rtree methods exceptions detailed description.
[SVN r82415]
2013-01-09 13:07:45 +00:00
Adam Wulkiewicz
fa55322ddc Fixed error in nearest_query() - for Iterator which is not an inserter - operator++ call added.
[SVN r82371]
2013-01-06 00:58:54 +00:00
Adam Wulkiewicz
31d95f9ac4 Added number of removed elements returned by rtree::remove().
[SVN r82353]
2013-01-04 17:38:18 +00:00
Adam Wulkiewicz
c51fbe50b9 Iterators check changed in erase(f, l).
Tests upgraded.

[SVN r82032]
2012-12-16 19:34:51 +00:00
Adam Wulkiewicz
24f349839f Added templated versions of static_vector copy ctor and assignment.
GCC compile error fixed in test.

[SVN r82028]
2012-12-16 18:45:23 +00:00
Adam Wulkiewicz
32fbcf66ed Added statid_vector::insert(pos, first, last) for non random access iterators.
Added uninitialized_copy_checked() helper method.
Added tests.

[SVN r82027]
2012-12-16 18:31:03 +00:00
Adam Wulkiewicz
0ae51b1dbc Implemented static_vector::insert(pos, first, last) for random access iterators.
Tests added.

[SVN r82024]
2012-12-16 16:09:07 +00:00
Adam Wulkiewicz
57c75071f9 Added size() check to the insert test.
[SVN r82009]
2012-12-16 02:43:18 +00:00
Adam Wulkiewicz
5c9f96c750 Added static_vector::insert(pos, n, val) + test.
[SVN r82008]
2012-12-16 02:40:29 +00:00
Adam Wulkiewicz
8c6d651676 Fixed wrong assert in static_vector::insert(pos, val)
Test added.

[SVN r82003]
2012-12-16 01:02:38 +00:00
Adam Wulkiewicz
50bb3d9fdf Error fixed in static_vector::insert(pos, val).
Test added.

[SVN r82002]
2012-12-16 00:58:07 +00:00
Adam Wulkiewicz
addc5eebcf Added static_vector::erase() and tests.
[SVN r81990]
2012-12-15 23:21:59 +00:00
Adam Wulkiewicz
ba031be21a Added static_vector::assign(count, value) + test.
Added static_vector iterators test.

[SVN r81978]
2012-12-15 20:07:19 +00:00
Adam Wulkiewicz
d55108b720 Added ctor and modified assign to static_vector.
static_vector(Iter, Iter), assign(Iter, Iter) + separated version for RandomIterators.
Private helper methods now are able to take arbitrary type (Iterator, Value).

[SVN r81971]
2012-12-15 16:30:57 +00:00
Adam Wulkiewicz
395777fb9d fixed static_vector error related to construction of values with nontrivial default constructor.
tests added.

[SVN r81962]
2012-12-14 23:22:16 +00:00
Adam Wulkiewicz
ec661bbe1e bgi tests reenabled in Jamfile.
[SVN r81961]
2012-12-14 23:03:04 +00:00
Adam Wulkiewicz
da5a91bad4 static_vector error fixed, tests added.
[SVN r81960]
2012-12-14 22:59:19 +00:00
Adam Wulkiewicz
479c6a3bab Error fixed in static_vector::at().
Added test for static_vector.

[SVN r81958]
2012-12-14 22:35:46 +00:00
Adam Wulkiewicz
627452da2a Added rtree::count() method. Docs modified.
[SVN r81947]
2012-12-14 19:15:34 +00:00
Adam Wulkiewicz
d7cf32bcfa Rtree value_type must no longer have default ctor defined.
Added static_vector::assign(), added assertion in static_vector::resize().
Added test for value without default ctor..

[SVN r81940]
2012-12-14 14:49:45 +00:00
Adam Wulkiewicz
1ae333d9a6 rtree assign() test commented out.
[SVN r81937]
2012-12-14 12:10:34 +00:00
Adam Wulkiewicz
79436250e5 Added assign() to the rtree interface. Fixed compilation error in static_vector.
[SVN r81935]
2012-12-14 11:58:40 +00:00
Adam Wulkiewicz
34768c2fb2 Some VS warnings fixed.
[SVN r81923]
2012-12-13 23:08:37 +00:00
Adam Wulkiewicz
d04440d13e rtree all tests divided into 2 files(for points and boxes) because b2 was complaining about the files sizes.
rtree tests were generated by tests/rtree_test_generator.cpp

[SVN r81912]
2012-12-13 20:38:05 +00:00
Adam Wulkiewicz
c6095f72f7 Added rtree test counting existing Values objects while inserting and removing.
[SVN r81902]
2012-12-13 17:14:06 +00:00