int main(int argc, char ** argv)
{
try {
std::string densityFilename = "data/points1.txt";
std::string samplesFilename = "/tmp/nuklei_samples.txt";
int nSamples = 10;
double locH = 40;
double oriH = .4;
samples = density.
sample(nSamples);
return 0;
}
catch (std::exception &e) {
std::cerr << "Exception caught: ";
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
catch (...) {
std::cerr << "Caught unknown exception." << std::endl;
return EXIT_FAILURE;
}
}