Adam Wulkiewicz
b741c36c34
[test][index] Add a test of rtree inserts and removes for various parameters.
2015-08-13 21:09:52 +02:00
Adam Wulkiewicz
13a63ec59c
[example][index] Add missing header.
2015-06-11 18:01:53 +02:00
Adam Wulkiewicz
163c3d83ef
[test][index][extensions] Disable the deprecated std::auto_ptr support in SmartPtr and Core globally in Jamfiles.
2015-06-09 14:53:36 +02:00
Adam Wulkiewicz
2e1690c247
[test][index] Add tests for rtree iterators.
...
Query iterator ForwardIterator category conformance.
Iterator usage with STL algorithms, Boost.Range and Boost.Foreach.
2015-04-04 18:32:14 +02:00
Adam Wulkiewicz
4ecb443891
[test] Add /bigobj compiler flag for all tests run on windows with intel compiler.
2015-03-24 01:25:50 +01:00
Adam Wulkiewicz
d22b3a00bf
[test][index] Add more tests for types convertible to rtree::value_type.
...
Hopefully it'll give info needed to fix wrong results of rtree::count() for types convertible to value_type on Android.
2015-03-19 03:54:10 +01:00
Adam Wulkiewicz
5cd851d48a
[test][index] Add test for rtree packing using move_itreator.
2015-03-19 01:27:51 +01:00
Adam Wulkiewicz
5249745ba0
[test] Link Timer only for the projects in test directories.
2015-01-13 18:30:19 +01:00
Adam Wulkiewicz
f26f75c3be
[test] Add Timer library project requirement, required by Test.
2015-01-13 00:35:17 +01:00
Adam Wulkiewicz
5760eff62f
[test][index] Replace BOOST_CHECK with BOOST_CHECK_EQUAL in rtree_values test for more convenienet output.
2015-01-09 17:21:42 +01:00
Adam Wulkiewicz
07d7258801
[index][example] Upgrade insert() benchmark.
...
Add max_range_inserts parameter.
Add are_xxx_ok checks for debugging.
2015-01-07 22:44:06 +01:00
Adam Wulkiewicz
69d03e9a7c
[index][example] Add range-insert benchmark.
2015-01-07 15:58:23 +01:00
Adam Wulkiewicz
99e7638d20
[test][index] Add linkflags to Jamfile for rtree+Interprocess test for linux.
2015-01-04 19:12:49 +01:00
Adam Wulkiewicz
936d52db27
[index][test] Fix storing of pairs and tuples containing pointers to Geometries.
2014-12-11 22:59:52 +01:00
Adam Wulkiewicz
6aa5df954f
[test][index] Replace struct with class keyword in specialization of allocators<> for throwing node.
2014-11-20 22:48:06 +01:00
Adam Wulkiewicz
7ee87715d0
[test][index] Add ctor to throwing_varray required by the new implementation of redistribute_elements.
2014-10-07 23:07:45 +02:00
Adam Wulkiewicz
c57be3a036
[test][index] Use new names of variant nodes in the implementation of throwing nodes in exceptions tests.
2014-10-05 16:20:09 +02:00
Adam Wulkiewicz
22bd0ea747
[test][index] Change throwing nodes from polymorphic to variant-based.
2014-10-05 14:40:43 +02:00
Adam Wulkiewicz
724f4d3792
[test][index] Add test for rtree::count() taking objects of type convertible to value_type.
2014-10-02 23:38:53 +02:00
Adam Wulkiewicz
345869b883
[test][index] Add tests for insertion of objects of type convertible to value_type.
2014-10-02 21:25:33 +02:00
Adam Wulkiewicz
3560ae1c93
[index] fix varray const rbegin() and rend().
...
non-const reverse iterator type was used internally.
2014-08-25 13:25:46 +02:00
Menelaos Karavelas
2c9221b397
[index][test] prefix GEOMETRY_TEST_DEBUG macro with BOOST_
2014-06-19 12:36:21 +03:00
Adam Wulkiewicz
4a9e53bf8b
[index/test] Comment unused typedef out
2014-06-10 01:14:27 +02:00
Adam Wulkiewicz
996f4bb935
[example] Update examples WRT the latest relocation of the code from multi/ directory
2014-06-04 22:25:59 +02:00
Adam Wulkiewicz
270f3e239c
[example/index] Fix GCC/clang c++98 compilation error in glut_vis.cpp
...
The error is caused by the Boost.Move limitation - the correct implicit assignment operator can't be automatically generated for a containing class.
2014-05-19 17:07:52 +02:00
Adam Wulkiewicz
ba8d1b471d
[index][example] Improve the rtree visualization.
...
Add support for rtrees storing Points and Segments.
Add the support for Segments in print_indexable() and gl_draw_indexable() index utilities.
2014-05-19 01:10:36 +02:00
Adam Wulkiewicz
c51cdc4bb9
[doc][example] Update the knn queries section in docs. Improve knn query visualization in glut_vis.
2014-05-18 19:29:16 +02:00
Adam Wulkiewicz
d6326c6343
[index/example] Add the visualization of knn Box/Box and Seg/Box to glut_vis example
2014-05-18 16:08:48 +02:00
Adam Wulkiewicz
8aa3ef425e
[equals][index/examples] Optimize equals(Seg,Seg) and fix index/examples
...
Use less comparisions in equals(Seg,Seg) - suggested by Menelaos Karavelas
Add missing include to examples - caused by the recent change of the distance/rtree
2014-05-15 02:56:15 +02:00
Adam Wulkiewicz
02df2d788f
[index][equals] Add the support for Segments as Indexables in the rtree.
...
This commit also adds the support for equals(Segment, Segment).
During the creation of the rtree all metrics are calculated for Segments viewed as bounding Boxes.
During the querying Segments are passed into the BG algorithms.
This commit also fixes a compilation error related to the calculation of the Box/Box intersection in the index::detail::intersection_content().
Add indexed_point_view<> which allows to see Boxes and Segments as one of the Points.
Move normalized_view<> to views/detail.
Add index::detail::bounded_view<> which allows to see simple Geometry e.g. a Segment as its bounding Geometry e.g. a Box.
TODO/RECONSIDER:
1. This commit adds return_ref_or_bounds() which returns const& for Points and Boxes and bounding Box view for Segment. The resulting object is then passed into various algorithms like covered_by() or within(). Whenever possible the algorithms should be implemented for the input parameters and the call to return_ref_or_bounds() removed.
2. It's possible that for Segments metrics (like the amount of overlap in the leaf node) could be calculated differently than for Boxes and naiive conversion to bounding Boxes is not fully correct.
3. The way how bounded_view<> works may be not correct for non-cartesian CS. Now, for Segments it just picks MIN and MAX coordinates on the fly which may not be ok e.g. for Segments defined in the spherical CS because of the "winding" of the coordinates.
2014-05-14 23:30:35 +02:00
Adam Wulkiewicz
18b4c3e472
[test][index] Add /bigobj for MSVC to Jamfiles for most of the tests
2014-04-22 16:39:02 +02:00
Adam Wulkiewicz
fdb1afaf20
[test][doc][index] replace <toolset>gcc-mingw with <toolset>gcc,<target-os>windows in Jamfiles.
...
This fixes the ticket 9858.
One Jamfile defines tests for rtree+Interprocess, the second one docs examples using Interprocess.
2014-04-22 16:25:04 +02:00
Adam Wulkiewicz
e1ab9f8b26
[test][index] add a check for the order of resulting Values of a k-NN query iterator
2014-04-11 15:49:48 +02:00
Mateusz Loskot
f30d28fe3a
[geometry] Add Jamfile.v2 at the library top-level, in extensions and index in order to enable building all tests and examples at once.
...
[SVN r86420]
2013-10-24 18:31:12 +00:00
Beman Dawes
72046f98b9
Add Boost.Build support for the Git modular layout, using links to to new header locations, thus preventing breakage to vast amounts of user code and build setups. Being added to SVN so that changes will automatically propagate to Git and modular Boost. Thanks to Steven Watanabe, Jürgen Hunold, Vladimir Prus, and Bjørn Roald for developing this patch. Steven in particular conceived the approach and did the initial implementation, which was further refined by the other contributors.
...
[SVN r86392]
2013-10-22 15:23:42 +00:00
Vladimir Prus
2e7cf8c0c4
Undo previous commit, it was meant for another branch
...
[SVN r85888]
2013-09-25 08:32:03 +00:00
Vladimir Prus
ec9e78e85f
Initial modular patch, from Bjorn.
...
[SVN r85884]
2013-09-25 08:13:57 +00:00
Adam Wulkiewicz
953876e33c
[geometry][index] compilation error in benchmark random_test fixed.
...
[SVN r85694]
2013-09-16 00:33:01 +00:00
Adam Wulkiewicz
ce10039377
[geometry][index]: added iterators test implementation using Boost.Function. Fixed compilation errors in benchmark_experimental.
...
[SVN r85693]
2013-09-16 00:25:37 +00:00
Adam Wulkiewicz
d9b6f89d64
[geometry]: iterative queries simplified, docs updated, added qbegin() and qend() free functions, added new functions to the reference matrix, release notes updated.
...
[SVN r85630]
2013-09-09 22:37:55 +00:00
Adam Wulkiewicz
8ab68c96f6
[geometry][index] example: added segment and linestring intersects queries to glut_vis, doc: added pictures of those queries results.
...
[SVN r85563]
2013-09-04 11:57:34 +00:00
Adam Wulkiewicz
ed4fc34beb
[geometry][index]test: enabled tests for contains() and covers() predicates.
...
[SVN r85521]
2013-08-30 02:33:26 +00:00
Adam Wulkiewicz
f944a3277b
[geometry][index] examples: added queried() range and ranges created from query iterators to benchmark_experimental.
...
[SVN r85518]
2013-08-29 23:05:33 +00:00
Adam Wulkiewicz
10a847f62f
[geometry][index] test: added query iterators, benchmark: removed unneeded tests versions of query iterators.
...
[SVN r85508]
2013-08-29 00:36:52 +00:00
Adam Wulkiewicz
190cf977c7
[geometry][index] examples: movable type-erased iterators enabled in benchmark_experimental
...
[SVN r85504]
2013-08-28 19:07:09 +00:00
Adam Wulkiewicz
5bfab4a363
[geometry][index]example: added additional implementation of type-erased query iterator to benchmark_experimental
...
[SVN r85501]
2013-08-28 13:54:25 +00:00
Adam Wulkiewicz
3b3b07c740
[geometry][index]example: added alternative type-erased query iterators to benchmark_experimental
...
[SVN r85496]
2013-08-28 00:55:08 +00:00
Adam Wulkiewicz
23612b0b6b
[geometry][index]example: added serialization to xml archives.
...
[SVN r85039]
2013-07-14 19:06:00 +00:00
Adam Wulkiewicz
eeb254b58d
[geometry][index]example: serialization example improved, linking test added to Jamfile.
...
[SVN r85027]
2013-07-14 02:01:12 +00:00
Adam Wulkiewicz
b696a1994a
[geometry][index]example: added serialization preliminary test/example (not compiling since serialization is not yet implemented)
...
[SVN r85023]
2013-07-13 16:43:50 +00:00