From 2a05b0828cc0c759edec8516e21ec69f75d9f2f3 Mon Sep 17 00:00:00 2001 From: luav Date: Thu, 20 Jul 2017 11:18:09 +0200 Subject: [PATCH] Arguments description refined --- args.ggo | 2 +- autogen/cmdline.c | 4 ++-- autogen/cmdline.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/args.ggo b/args.ggo index 2a6f2cf..1052d1f 100644 --- a/args.ggo +++ b/args.ggo @@ -7,7 +7,7 @@ purpose "Compare sets of clusters by their members (nodes) using various measure usage "onmi [OPTIONS] clsfile1 clsfile2" option "sync" s "synchronize the node base, for example to fairly evaluate against the top K selected clusters that are subset of the original nodes" flag off -option "allnmis" a "output all NMIs (sum-denominator and LFK besides the max-denominator one)" flag off +option "allnmis" a "output all NMIs (sqrt and sum-denominators, LFK besides the max-denominator)" flag off option "membership" m "average expected membership of nodes in the clusters, > 0, typically >= 1" float default="1" option "omega" o "print the Omega measure (can be slow)" flag off option "textid" t "use text ids of nodes instead of .cnl format" flag off diff --git a/autogen/cmdline.c b/autogen/cmdline.c index 187bf4b..46fa887 100644 --- a/autogen/cmdline.c +++ b/autogen/cmdline.c @@ -37,7 +37,7 @@ const char *gengetopt_args_info_help[] = { " -h, --help Print help and exit", " -V, --version Print version and exit", " -s, --sync synchronize the node base, for example to fairly\n evaluate against the top K selected clusters that\n are subset of the original nodes (default=off)", - " -a, --allnmis output all NMIs (sum-denominator and LFK besides the\n max-denominator one) (default=off)", + " -a, --allnmis output all NMIs (sqrt and sum-denominators, LFK\n besides the max-denominator) (default=off)", " -m, --membership=FLOAT average expected membership of nodes in the clusters,\n > 0, typically >= 1 (default=`1')", " -o, --omega print the Omega measure (can be slow) (default=off)", " -t, --textid use text ids of nodes instead of .cnl format\n (default=off)", @@ -523,7 +523,7 @@ cmdline_parser_internal ( goto failure; break; - case 'a': /* output all NMIs (sum-denominator and LFK besides the max-denominator one). */ + case 'a': /* output all NMIs (sqrt and sum-denominators, LFK besides the max-denominator). */ if (update_arg((void *)&(args_info->allnmis_flag), 0, &(args_info->allnmis_given), diff --git a/autogen/cmdline.h b/autogen/cmdline.h index e38f1b9..51d7e9d 100644 --- a/autogen/cmdline.h +++ b/autogen/cmdline.h @@ -41,8 +41,8 @@ struct gengetopt_args_info const char *version_help; /**< @brief Print version and exit help description. */ int sync_flag; /**< @brief synchronize the node base, for example to fairly evaluate against the top K selected clusters that are subset of the original nodes (default=off). */ const char *sync_help; /**< @brief synchronize the node base, for example to fairly evaluate against the top K selected clusters that are subset of the original nodes help description. */ - int allnmis_flag; /**< @brief output all NMIs (sum-denominator and LFK besides the max-denominator one) (default=off). */ - const char *allnmis_help; /**< @brief output all NMIs (sum-denominator and LFK besides the max-denominator one) help description. */ + int allnmis_flag; /**< @brief output all NMIs (sqrt and sum-denominators, LFK besides the max-denominator) (default=off). */ + const char *allnmis_help; /**< @brief output all NMIs (sqrt and sum-denominators, LFK besides the max-denominator) help description. */ float membership_arg; /**< @brief average expected membership of nodes in the clusters, > 0, typically >= 1 (default='1'). */ char * membership_orig; /**< @brief average expected membership of nodes in the clusters, > 0, typically >= 1 original value given at command line. */ const char *membership_help; /**< @brief average expected membership of nodes in the clusters, > 0, typically >= 1 help description. */