#ifndef REVIVER_GENERATOR_HPP #define REVIVER_GENERATOR_HPP #include "defs.hpp" #include "assert.hpp" #include #include namespace _cg { // Generate d dimensional random points template < typename NumType, unsigned D > class dRandGenPts { int rtype; public: dRandGenPts(int ix) : rtype(ix) { std::srand(std::time(0)); } dpoint operator()() { dpoint rp; for(int i = 0; i < D; ++i) rp[i] = rand(); std::cout << rp << std::endl; return rp; } }; // end of generator }; // Namespace Ends here #endif