-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.h
46 lines (36 loc) · 1.37 KB
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef PLATO_MAIN_H
#define PLATO_MAIN_H
#include "config.h"
#include <deque>
#include <map>
#include <set>
#include <utility>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
// this is the entry point for the "master" (this is essentially the "old" main)
int master_main(int, char**);
// handles both MPI and regular invocations
int main(int, char**);
void MPISendResponses(std::map<int, std::deque<std::pair<unsigned int, const char*> > >& resp_queue_map, boost::mutex& resp_mutex);
void MPIProbeInput(std::map<int, std::deque<std::pair<unsigned int, const char*> > >& resp_queue_map, boost::mutex& resp_mutex, bool& running);
void print_steps();
std::set<std::string> valid_process_names();
/*
void startProcess(vector<Process*>&, int, InputFilter*);
void parseInput(const string&, vector<Process*>& order_out);
void usage();
void error_check();
void parseParameters();
void print_help();
void runStep(Process*, DataSet*);
void flipStrand(vector<Marker*>*);
void printFamilies(vector<Family*>*);
void printOptions();
string descendTree(Sample*, int);
map<int, vector<Sample*> > descendTree3(Sample*, int);
void compileOutputs(vector<Marker*>*, vector<Family*>*, vector<Sample*>*);
void webcheck(vector<string>, map<string, vector<string> >);
map<string, vector<string> > getBatchArgs(string);
vector<vector<Process*> > optimize(vector<Process*>&);
*/
#endif