Commit 919ea2f5 authored by Martin Perdacher's avatar Martin Perdacher

fix arguments

parent 4adc85be
......@@ -86,12 +86,6 @@ int main(int argc, char** argv) {
// test_ego_loop3_long(n,d,threads,epsilon,array,&result,stripes,KBLOCK);
algtimer.start();
for ( int i=0 ; i < 5 ; i++ ){
for ( int j=0 ; j < d ; j++ ){
printf("%f, ", x1[d*i + j]);
}
printf("\n");
}
#ifdef COUNT_ONLY
// test_ego_loop3_macro(n,d,epsilon,array,&result,stripes,&sortTime,&indexTime,&loadpercent);
// test_ego_loop3_macro(n,d,threads,epsilon,array,&result,stripes,&sortTime);
......
......@@ -17,7 +17,7 @@ void parsing_args(int argc, char* argv[], size_t *n, double *epsilon, size_t *d,
fprintf(stderr, "a number of acitve dimensions (default 3)\n");
fprintf(stderr, "f (filename) if there is no filename we use random generated data [0.0, 100.0)\n");
fprintf(stderr, "b use the -b argument without options to specify that it is a binary file.\n");
fprintf(stderr, "Example (with default values): ./egoHilb -n 200 -e 0.2 -d 20 -s 5000 -t 64\n");
fprintf(stderr, "Example (with default values): hilbertSelfJoinCountOnly -n 200 -e 0.2 -d 64 -t 64\n");
exit(1);
}
......@@ -87,17 +87,17 @@ void parsing_args_join(int argc, char* argv[], size_t *n, size_t *m, double *eps
fprintf (stderr, "Usage: ./egoHilb (or ./egoCano)");
fprintf(stderr, "Obligatory parameters: \n");
fprintf(stderr, "n (number of objects )\n\nm (number of objects in set B)\ne (epsilon)\nd (dimensionality)\n");
fprintf(stderr, "n (number of objects in set A)\nm (number of objects in set B)\ne (epsilon)\nd (dimensionality)\n");
fprintf(stderr, "Optional parameters: \n\n");
fprintf(stderr, "a number of active dimensions (default 3)\n");
fprintf(stderr, "f (filename) if there is no filename we use random generated data [0.0, 1.0)\n");
fprintf(stderr, "g (filename set B) if there is no filename we use random generated data [0.0, 1.0)\n");
fprintf(stderr, "b use the -b argument without options to specify that it is a binary file.\n");
fprintf(stderr, "Example (with default values): ./egoHilb -n 200 -e 0.2 -d 20 -s 5000 -t 64\n");
fprintf(stderr, "Example (with default values): ./hilbertJoinCountOnly -n 200000 -m 200000 -e 0.2 -d 20 -t 64\n");
exit(1);
}
while ( (c = getopt(argc, argv, "n:e:d:t:f:k:a:b") ) != -1) {
while ( (c = getopt(argc, argv, "n:m:e:d:t:f:k:a:b") ) != -1) {
if ( optarg ){
switch(c){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment