8 #ifndef MAINPROCEDURE_H
9 #define MAINPROCEDURE_H
14 #include <boost/program_options.hpp>
15 #include <boost/filesystem/fstream.hpp>
16 #include <boost/filesystem/exception.hpp>
17 #include <boost/filesystem/convenience.hpp>
18 #include <boost/thread/thread.hpp>
37 void doing(
int verbosity,
const std::string& str, std::stringstream& log);
38 void done(
int verbosity, std::stringstream& log);
43 const boost::optional<std::string>& flex_name_opt, std::stringstream& ligSS);
46 const boost::optional<std::string>& flex_name_opt,
const std::vector<std::string>& ligand_names);
49 std::stringstream& out_name,
50 bool score_only,
bool local_only,
bool randomize_only,
bool no_cache,
53 int cpu,
int seed,
int verbosity,
sz num_modes,
fl energy_range, std::stringstream& log);
57 usage_error(
const std::string & message) : std::runtime_error(message) {
76 boost::program_options::options_description& d);
78 void check_occurrence(boost::program_options::variables_map& vm, boost::program_options::options_description& d);