![]() |
VieSched++
VieVS VLBI Scheduling Software
|
this is the VieSched++ core class More...
#include <VieSchedpp.h>
Public Member Functions | |
VieSchedpp ()=default | |
constructor More... | |
VieSchedpp (const std::string &inputFile) | |
constructor More... | |
void | run () |
start VieSched++ More... | |
Private Member Functions | |
void | readSkdCatalogs () |
read sked catalogs More... | |
void | multiCoreSetup () |
initialize parallel processing More... | |
void | init_log () |
initialize log files More... | |
std::map< int, double > | summarizeSimulationResult (bool output=true) |
summarize simulation result More... | |
std::vector< std::tuple< std::string, int, double > > | getPriorityCoefficients (const std::string &type, const std::vector< std::string > &header) |
get priority values from xml file More... | |
std::map< int, double > | listBest (std::ofstream &of, const std::string &type, const std::map< int, std::vector< double >> &storage, const std::vector< std::tuple< std::string, int, double >> &priorityLookup) |
list best schedules based on simulations More... | |
std::map< int, double > | printRecommendation (const std::map< int, double > &mfe_costs, const std::map< int, double > &rep_costs, const std::map< int, std::vector< double >> &storage, bool output=true) |
output best schedules based on simulations More... | |
Private Attributes | |
std::string | inputFile_ |
VieSchedpp.xml file. More... | |
std::string | path_ |
path to VieSchedpp.xml file More... | |
std::string | sessionName_ |
session name More... | |
boost::property_tree::ptree | xml_ |
content of VieSchedpp.xml file More... | |
SkdCatalogReader | skdCatalogs_ |
sked catalogs More... | |
std::vector< VieVS::MultiScheduling::Parameters > | multiSchedParameters_ |
list of all multi scheduling parameters More... | |
this is the VieSched++ core class
this class starts the scheduling process. It monitores the creation of all schedules and all threads.
|
default |
constructor
|
explicit |
constructor
inputFile | path and name of input file (usually called VieSchedpp.xml) |
|
private |
get priority values from xml file
type | output type (mfe or rep) |
header | list of header file entries |
|
private |
initialize log files
|
private |
list best schedules based on simulations
of | out file stream |
type | output type (mfe or rep) |
storage | values per schedule (first = version, second = list of values) |
priorityLookup | list of tuples (first = name, second = index, third = priority value) of priority elements |
|
private |
initialize parallel processing
|
private |
output best schedules based on simulations
mfe_costs | mean formal error costs |
rep_costs | repeatability costs |
storage | values per schedule (first = version, second = list of values) |
output | flag if output should be printed to console |
|
private |
read sked catalogs
void VieSchedpp::run | ( | ) |
start VieSched++
|
private |
summarize simulation result
output | flag if output should be printed to console |
|
private |
VieSchedpp.xml file.
|
private |
list of all multi scheduling parameters
|
private |
path to VieSchedpp.xml file
|
private |
session name
|
private |
sked catalogs
|
private |
content of VieSchedpp.xml file