range_query/rs_test.cpp
vector<Point> generate_points(size_t n, coord a, coord b) {
  vector<Point> ret(n);

  parallel_for(0, n, [&] (size_t i) {
    ret[i].x = random_hash('x', i, a, b);
    ret[i].y = random_hash('y', i, a, b);
    ret[i].w = 1; //random_hash('w', i, a, b);
    });

  return ret;
}
// generate random input points. The coordinate are uniformly distributed in [a, b]
generate random input points. The coordinate are uniformly distributed in [a, b]
generate random input points . The coordinate are uniformly distributed in [ a b ]
vector<Point> generate_points(size_t n, coord a, coord b) {
  vector<Point> ret(n);
  parallel_for(0, n, [&] (size_t i) {
    ret[i].x = random_hash('x', i, a, b);
    ret[i].y = random_hash('y', i, a, b);
    ret[i].w = 1; 
    });
  return ret;
}
vector < Point > generate_points ( size_t n , coord a , coord b ) { vector < Point > ret ( n ) ; parallel_for ( 0 , n , [ & ] ( size_t i ) { ret [ i ] . x = random_hash ( ' ' , i , a , b ) ; ret [ i ] . y = random_hash ( ' ' , i , a , b ) ; ret [ i ] . w = 1 ; } ) ; return ret ; }
generate random input points.
generate random input points .
//random_hash('w', i, a, b);