GOBNILP
f164d83
|
Main entry point for the program. More...
Data Structures | |
struct | CLA_info |
Information gathered by parsing command line arguments. More... | |
Macros | |
#define | DEFAULT_GOBNILP_PARAMS_FILE "gobnilp.set" |
The default file from which to attempt to read parameters. More... | |
Functions | |
int | main (int argc, char **argv) |
Main function which starts the solution of the BN learning problem. More... | |
static void | parseArguments (int argc, char **argv, char *keys, char **values) |
Parses the command line arguments. More... | |
static void | readCommandLineArgs (CLA_info *cla_info, int argc, char **argv) |
Reads the command line arguments and stores information . More... | |
static void | set_cla (CLA_info *cla_info) |
Sets default values for values which can bet set on the command line. More... | |
Main entry point for the program.
This file contains only general information about the sequence that operations should be performed in. Much of what is in this file should be applicable to ILP problems in general, not just Bayesian network learning. Functions that are more specific to BN learning are found in probdata_bn.c .
#define DEFAULT_GOBNILP_PARAMS_FILE "gobnilp.set" |
The default file from which to attempt to read parameters.
Referenced by set_cla().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main function which starts the solution of the BN learning problem.
argc | The number of command line arguments supplied to the program. |
argv | The command line arguments supplied to the program. |
References BN_addParameters(), BN_doIterativePrint(), BN_getNumberOfRepeats(), BN_includePlugins(), BN_printcountsols(), BN_printHeader(), BN_printParameters(), BN_printProblem(), BN_printScores(), BN_readProblem(), BN_setParamaterDefaults(), BN_suppresscols(), CLA_info::exitbeforefirstsolve, CLA_info::frequencyfile, CLA_info::inputformat, MA_addAveragingParameters(), MA_createAverageDataStructure(), MA_destroyAverageDataStructure(), MA_updateAverageDataStructure(), CLA_info::parameterfile, readCommandLineArgs(), set_cla(), and CLA_info::verblevel.
|
static |
Parses the command line arguments.
argc | The number of command line arguments. |
argv | The command line arguments. |
keys | The keys extracted from the command line arguments. |
values | The values extracted from the command line arguments. |
Referenced by readCommandLineArgs().
|
static |
Reads the command line arguments and stores information .
cla_info | Command line argument information to be updated. |
argc | The number of command line arguments. |
argv | The command line arguments. |
References CLA_info::exitbeforefirstsolve, CLA_info::frequencyfile, CLA_info::inputformat, CLA_info::parameterfile, parseArguments(), and CLA_info::verblevel.
Referenced by main().
|
static |
Sets default values for values which can bet set on the command line.
cla_info | Command line argument information to be initialised. |
References DEFAULT_GOBNILP_PARAMS_FILE, CLA_info::exitbeforefirstsolve, CLA_info::frequencyfile, CLA_info::inputformat, CLA_info::parameterfile, and CLA_info::verblevel.
Referenced by main().