diff --git a/Benchmarks/StaticRTreeBench.cpp b/Benchmarks/static_rtree.cpp similarity index 81% rename from Benchmarks/StaticRTreeBench.cpp rename to Benchmarks/static_rtree.cpp index e6e4f2225..72ba3f2ef 100644 --- a/Benchmarks/StaticRTreeBench.cpp +++ b/Benchmarks/static_rtree.cpp @@ -1,3 +1,30 @@ +/* + +Copyright (c) 2014, Project OSRM, Dennis Luxen, others +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list +of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*/ + #include "../DataStructures/OriginalEdgeData.h" #include "../DataStructures/QueryNode.h" #include "../DataStructures/SharedMemoryVectorWrapper.h" diff --git a/CMakeLists.txt b/CMakeLists.txt index ea726321f..185b15cf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ add_executable(datastructure-tests EXCLUDE_FROM_ALL UnitTests/datastructure_test add_executable(algorithm-tests EXCLUDE_FROM_ALL UnitTests/algorithm_tests.cpp ${AlgorithmTestsGlob} $ $ $) # Benchmarks -add_executable(rtree-bench EXCLUDE_FROM_ALL Benchmarks/StaticRTreeBench.cpp $ $ $) +add_executable(rtree-bench EXCLUDE_FROM_ALL Benchmarks/static_rtree.cpp $ $ $) # Check the release mode if(NOT CMAKE_BUILD_TYPE MATCHES Debug)