#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include typedef CGAL::Simple_cartesian Kernel; typedef Kernel::Point_3 Point_3; typedef Kernel::Vector_3 Vector_3; typedef CGAL::Surface_mesh Mesh; typedef boost::graph_traits::vertex_descriptor vertex_descriptor; typedef CGAL::Timer Timer; void fct(int ii, int jj) { typedef std::map SM; typedef std::unordered_map SUM; typedef boost::unordered_map BUM; Mesh mesh; typedef boost::property_map::type VPM; VPM vpm = get(CGAL::vertex_point,mesh); Vector_3 v(0,0,0); for(int i =0; i < ii; i++){ vertex_descriptor vd = add_vertex(mesh); put(vpm,vd, Point_3(i,0,0)); } std::vector V; for(vertex_descriptor vd : vertices(mesh)){ V.push_back(vd); } random_shuffle(V.begin(), V.end()); Timer tsmc, tsumc, tbumc; Timer tsmq, tsumq, tbumq; for(int j=0; j