summaryrefslogtreecommitdiff
path: root/libs/geometry/doc/index
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/geometry/doc/index
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/geometry/doc/index')
-rw-r--r--libs/geometry/doc/index/introduction.qbk4
-rw-r--r--libs/geometry/doc/index/src/examples/rtree/range_adaptors.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/libs/geometry/doc/index/introduction.qbk b/libs/geometry/doc/index/introduction.qbk
index daf2e39f3..e0c5b03e0 100644
--- a/libs/geometry/doc/index/introduction.qbk
+++ b/libs/geometry/doc/index/introduction.qbk
@@ -56,8 +56,10 @@ The examples of structures of trees created by use of different algorithms and e
[[*100k knn queries*] [6.37s] [2.09s] [0.64s] [0.52s]]
]
+The configuration of the machine used for testing was: /Intel(R) Core(TM) i7 870 @ 2.93GHz, 8GB RAM, MS Windows 7 x64/.
+The code was compiled with optimization for speed (`O2`).
+
The performance of the R-tree for different values of Max parameter and Min=0.5*Max is presented in the table below.
-The configuration of the machine used for testing is: /Intel(R) Core(TM) i7 870 @ 2.93GHz, 8GB RAM, MS Windows 7 x64/.
In the two upper figures you can see the performance of the __rtree__ storing random, relatively small, non-overlapping, 2d boxes.
In the lower ones, the performance of the __rtree__ also storing random, 2d boxes, but this time quite big and possibly overlapping.
As you can see, the __rtree__ performance is different in both cases.
diff --git a/libs/geometry/doc/index/src/examples/rtree/range_adaptors.cpp b/libs/geometry/doc/index/src/examples/rtree/range_adaptors.cpp
index f01d978cf..799301682 100644
--- a/libs/geometry/doc/index/src/examples/rtree/range_adaptors.cpp
+++ b/libs/geometry/doc/index/src/examples/rtree/range_adaptors.cpp
@@ -65,7 +65,7 @@ int main()
boxes.push_back(b);
}
- // create the rtree using default constructor
+ // create the rtree passing a Range
bgi::rtree< value, bgi::quadratic<16> >
rtree(boxes | boost::adaptors::indexed()
| boost::adaptors::transformed(pair_maker<box, size_type>()));