Gambit::Scanner::Scan_Manager Class Reference
Collaboration diagram for Gambit::Scanner::Scan_Manager:
![]()
Detailed DescriptionConstructor & Destructor Documentation◆ Scan_Manager()
Definition at line 50 of file scan.cpp. References Gambit::Scanner::combineNodes(), factory, Gambit::Options::getNode(), Gambit::Priors::BasePrior::getParameters(), Gambit::Options::getValue(), has_local_factory, Gambit::Options::hasKey(), Gambit::Scanner::Plugins::pluginInfo::iniFile(), options, Gambit::Scanner::Plugins::plugin_info, Gambit::Scanner::Plugins::pluginInfo::printer_prior(), prior, scan_end, and scan_err. 61 std::vector <std::string> plugs = get_yaml_vector<std::string>(options.getNode("use_objectives")); 70 std::vector <std::string> purposes = get_yaml_vector<std::string>(options.getNode("objectives", *it, "purpose")); 77 scan_err << "Must specify a plugin and a purpose under the plugin tag \"" << *it << "\"." << scan_end; 95 scan_err << "Plugin \"" << *it << "\" of type \"" << "objective" << "\" is not defined under the \"Scanner\""
bool hasKey(const args &... keys) const Getters for key/value pairs (which is all the options node should contain) Definition: yaml_options.hpp:67 void printer_prior(printer_interface &, Priors::BasePrior &) Definition: plugin_loader.cpp:578 YAML::Node combineNodes(const std::map< std::string, YAML::Node > &nodesMap, const YAML::Node &node) Definition: scan.cpp:38 #define scan_err Defined to macros to output errors in the form: scan_err << "error" << scan_end; scan_warn << "warnin... Definition: scanner_utils.hpp:54 std::vector< std::string > getParameters() const Definition: base_prior.hpp:83 EXPORT_SYMBOLS pluginInfo plugin_info Access Functor for plugin info. Definition: plugin_loader.cpp:706 YAML::Node getNode(const args &... keys) const Retrieve raw YAML node. Definition: yaml_options.hpp:212 printer_interface * printerInterface Definition: scan.hpp:45 Special "build-a-prior" class This is the class to use for setting simple 1D priors (from the library... Definition: composite.hpp:47
Here is the call graph for this function:
![]() ◆ ~Scan_Manager()
Member Function Documentation◆ Run()
Definition at line 133 of file scan.cpp. References Gambit::Scanner::Plugins::pluginInfo::early_shutdown_in_progress(), factory, Gambit::Printers::BasePrinterManager::finalise(), Gambit::Options::getNode(), Gambit::Options::hasKey(), options, Gambit::Scanner::Plugins::plugin_info, printerInterface, prior, combine_hdf5::rank, scan_end, scan_err, Gambit::Scanner::Plugins::pluginInfo::set_early_shutdown_in_progress(), and Gambit::Priors::BasePrior::size(). Referenced by main(). 175 if(rank==0) cout << "ScannerBit is waiting for all MPI processes to report their shutdown condition..." << endl; 201 if (rank == 0) cout << "ScannerBit has received a shutdown signal and will terminate early. Finalising resume data..." << endl;
void set_early_shutdown_in_progress() Definition: plugin_loader.hpp:192 virtual void finalise(bool abnormal=false)=0 Instruct printers that scan has finished and to perform cleanup. bool hasKey(const args &... keys) const Getters for key/value pairs (which is all the options node should contain) Definition: yaml_options.hpp:67 #define scan_err Defined to macros to output errors in the form: scan_err << "error" << scan_end; scan_warn << "warnin... Definition: scanner_utils.hpp:54 bool early_shutdown_in_progress() const Definition: plugin_loader.hpp:193 EXPORT_SYMBOLS pluginInfo plugin_info Access Functor for plugin info. Definition: plugin_loader.cpp:706 YAML::Node getNode(const args &... keys) const Retrieve raw YAML node. Definition: yaml_options.hpp:212 printer_interface * printerInterface Definition: scan.hpp:45
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() Member Data Documentation◆ factory
Definition at line 42 of file scan.hpp. Referenced by Run(), Scan_Manager(), and ~Scan_Manager(). ◆ has_local_factory
Definition at line 47 of file scan.hpp. Referenced by Scan_Manager(), and ~Scan_Manager(). ◆ options
Definition at line 43 of file scan.hpp. Referenced by Run(), and Scan_Manager(). ◆ printerInterface
◆ prior
Definition at line 44 of file scan.hpp. Referenced by Run(), Scan_Manager(), and ~Scan_Manager(). The documentation for this class was generated from the following files: |