main.cc 393 Bytes
Newer Older
Damien Leroux's avatar
Damien Leroux committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "pedigree.h"
#include "bayes.h"
#include "cli.h"

void do_the_job(bn_settings_t* settings, std::string job);
void print_usage();


int main(int argc, const char** argv)
{
    bn_settings_t* settings = bn_settings_t::from_args(argc, argv);
    if (!settings) {
        print_usage();
    } else {
        do_the_job(settings, "dummy");
        delete settings;
    }
    return 0;
}