VieSched++
VieVS VLBI Scheduling Software
VieVS::Simulator Class Reference

main class for simulations More...

#include <Simulator.h>

Inheritance diagram for VieVS::Simulator:
Collaboration diagram for VieVS::Simulator:

Classes

struct  SimPara
 

Public Member Functions

 Simulator (Output &output)
 constructor More...
 
void start ()
 
- Public Member Functions inherited from VieVS::VieVS_NamedObject
 VieVS_NamedObject (std::string name, unsigned long id)
 constructor More...
 
 VieVS_NamedObject (std::string name, std::string alternativeName, unsigned long id)
 constructor More...
 
const std::string & getName () const
 get object name More...
 
const std::string & getAlternativeName () const
 get object alternative name More...
 
bool hasAlternativeName () const
 check if object has alternative name More...
 
bool hasName (const std::string &name) const
 check if object has name More...
 
void changeName (const std::string &newName)
 change name of object More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Private Member Functions

void simClock ()
 
void simClockDummy ()
 
void simTropo ()
 
void simTropoDummy ()
 
void calcO_C ()
 
void setup ()
 
void parameterSummary ()
 
void dummyMatrixToFile (const Eigen::MatrixXd &M, const std::string &name)
 

Private Attributes

std::ofstream of
 output stream object More...
 
unsigned long seed_
 
const boost::property_tree::ptree xml_
 content of VieSchedpp.xml file More...
 
const std::string path_
 path to output directory More...
 
const int version_
 number of this schedule More...
 
const Network network_
 network More...
 
const SourceList sourceList_
 all sources More...
 
const std::vector< Scanscans_
 all scans in schedule More...
 
const std::shared_ptr< const ObservingMode > & obsModes_
 observing mode More...
 
boost::optional< MultiScheduling::ParametersmultiSchedulingParameters_
 multi scheduling parameters More...
 
std::vector< Eigen::MatrixXd > clk_
 
std::vector< Eigen::MatrixXd > tropo_
 
Eigen::MatrixXd obs_minus_com_
 
Eigen::VectorXd P_
 
bool simTropo_ = true
 
bool simClock_ = true
 
bool simWn_ = true
 
std::vector< SimParasimpara_
 
int nsim = 1
 
std::default_random_engine generator_
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Friends

class Solver
 

Detailed Description

main class for simulations

Author
Matthias Schartner
Date
12.02.2020

Constructor & Destructor Documentation

Simulator::Simulator ( Output output)
explicit

constructor

Author
Matthias Schartner
Parameters
outputscheduler

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

void Simulator::calcO_C ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void VieVS::Simulator::dummyMatrixToFile ( const Eigen::MatrixXd &  M,
const std::string &  name 
)
inlineprivate
void Simulator::parameterSummary ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::setup ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::simClock ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::simClockDummy ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::simTropo ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::simTropoDummy ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Simulator::start ( )

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class Solver
friend

Member Data Documentation

std::vector<Eigen::MatrixXd> VieVS::Simulator::clk_
private
std::default_random_engine VieVS::Simulator::generator_
private
boost::optional<MultiScheduling::Parameters> VieVS::Simulator::multiSchedulingParameters_
private

multi scheduling parameters

const Network VieVS::Simulator::network_
private

network

unsigned long VieVS::Simulator::nextId = 0
staticprivate

next id for this object type

int VieVS::Simulator::nsim = 1
private
Eigen::MatrixXd VieVS::Simulator::obs_minus_com_
private
const std::shared_ptr<const ObservingMode>& VieVS::Simulator::obsModes_
private

observing mode

std::ofstream VieVS::Simulator::of
private

output stream object

Eigen::VectorXd VieVS::Simulator::P_
private
const std::string VieVS::Simulator::path_
private

path to output directory

const std::vector<Scan> VieVS::Simulator::scans_
private

all scans in schedule

unsigned long VieVS::Simulator::seed_
private
bool VieVS::Simulator::simClock_ = true
private
std::vector<SimPara> VieVS::Simulator::simpara_
private
bool VieVS::Simulator::simTropo_ = true
private
bool VieVS::Simulator::simWn_ = true
private
const SourceList VieVS::Simulator::sourceList_
private

all sources

std::vector<Eigen::MatrixXd> VieVS::Simulator::tropo_
private
const int VieVS::Simulator::version_
private

number of this schedule

const boost::property_tree::ptree VieVS::Simulator::xml_
private

content of VieSchedpp.xml file


The documentation for this class was generated from the following files: