define high impact scans
More...
#include <HighImpactScanDescriptor.h>
|
| HighImpactScanDescriptor (unsigned int interval, unsigned int minTimeBetweenScans) |
| constructor More...
|
|
void | addAzElDescriptor (double az, double el, double margin, const std::vector< unsigned long > &staids) |
| add azimuth elevation based high impact scan selection More...
|
|
double | highImpactScore (const PointingVector &pv) const |
| calc high impact score per station More...
|
|
double | highImpactScore (const Scan &scan) const |
| calc high impact score per scan More...
|
|
unsigned int | getInterval () const |
| get target interval More...
|
|
unsigned int | getMinTimeBetweenScans () const |
| get minimum time between high impact scans More...
|
|
std::vector< unsigned long > | getStationIds () const |
| list of stations with high impact descriptions More...
|
|
void | possibleHighImpactScans (unsigned int time, const Network &network, const SourceList &sourceList) |
| calc possible high impact scans More...
|
|
void | updateHighImpactScans (const Network &network, const SourceList &sourceList, const std::shared_ptr< const Mode > &mode, const std::shared_ptr< Subnetting > &subnetting) |
| update high impact scans More...
|
|
std::vector< Scan > | highestImpactScans (Network &network, const SourceList &sourceList, const std::shared_ptr< const Mode > &mode) |
| get highest impact scans More...
|
|
bool | isCorrectHighImpactScan (const Scan &target, const std::vector< Scan > &scans, std::shared_ptr< const AbstractSource > source) |
| check if target scan is valid high impact scans More...
|
|
bool | hasMoreScans () |
| checks if there are more possible high impact scans More...
|
|
void | updateLogfile (std::ofstream &of) |
| update log file for new high impact scans More...
|
|
| 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...
|
|
|
static unsigned long | nextId = 0 |
| next id for this object type More...
|
|
define high impact scans
- Author
- Matthias Schartner
- Date
- 27.04.2018
HighImpactScanDescriptor::HighImpactScanDescriptor |
( |
unsigned int |
interval, |
|
|
unsigned int |
minTimeBetweenScans |
|
) |
| |
constructor
- Author
- Matthias Schartner
- Parameters
-
interval | test interval in seconds |
minTimeBetweenScans | minimum time between high impact scans in seconds |
void HighImpactScanDescriptor::addAzElDescriptor |
( |
double |
az, |
|
|
double |
el, |
|
|
double |
margin, |
|
|
const std::vector< unsigned long > & |
staids |
|
) |
| |
add azimuth elevation based high impact scan selection
- Author
- Matthias Schartner
- Parameters
-
az | target azimuth in radians |
el | target elevation in radians |
margin | azimuth elevation margin in radians |
staids | list of stations with high impact descriptions |
unsigned int VieVS::HighImpactScanDescriptor::getInterval |
( |
| ) |
const |
|
inline |
get target interval
- Author
- Matthias Schartner
- Returns
- interval in seconds
unsigned int VieVS::HighImpactScanDescriptor::getMinTimeBetweenScans |
( |
| ) |
const |
|
inline |
get minimum time between high impact scans
- Author
- Matthias Schartner
- Returns
- minimum time between high impact scans in seconds
std::vector< unsigned long > HighImpactScanDescriptor::getStationIds |
( |
| ) |
const |
list of stations with high impact descriptions
- Author
- Matthias Schartner
- Returns
- list of stations
bool VieVS::HighImpactScanDescriptor::hasMoreScans |
( |
| ) |
|
|
inline |
checks if there are more possible high impact scans
- Author
- Matthias Schartner
- Returns
- true if there are more possible high impact scans, otherwise false
vector< Scan > HighImpactScanDescriptor::highestImpactScans |
( |
Network & |
network, |
|
|
const SourceList & |
sourceList, |
|
|
const std::shared_ptr< const Mode > & |
mode |
|
) |
| |
get highest impact scans
- Author
- Matthias Schartner
- Parameters
-
network | station network |
sourceList | source list |
mode | observing mode |
- Returns
- list of scans with highest impact score
double HighImpactScanDescriptor::highImpactScore |
( |
const PointingVector & |
pv | ) |
const |
calc high impact score per station
- Author
- Matthias Schartner
- Parameters
-
- Returns
- high impact score per station
double HighImpactScanDescriptor::highImpactScore |
( |
const Scan & |
scan | ) |
const |
calc high impact score per scan
- Author
- Matthias Schartner
- Parameters
-
- Returns
- high impact score per scan
bool HighImpactScanDescriptor::isCorrectHighImpactScan |
( |
const Scan & |
target, |
|
|
const std::vector< Scan > & |
scans, |
|
|
std::shared_ptr< const AbstractSource > |
source |
|
) |
| |
check if target scan is valid high impact scans
- Author
- Matthias Schartner
based on minimum time between high impact scans
- Parameters
-
target | target scan |
scans | already scheduled scans |
source | target source |
- Returns
- true if target scan is valid high impact scan, otherwise false
void HighImpactScanDescriptor::possibleHighImpactScans |
( |
unsigned int |
time, |
|
|
const Network & |
network, |
|
|
const SourceList & |
sourceList |
|
) |
| |
calc possible high impact scans
- Author
- Matthias Schartner
- Parameters
-
time | target time |
network | station network |
sourceList | source list |
void HighImpactScanDescriptor::updateHighImpactScans |
( |
const Network & |
network, |
|
|
const SourceList & |
sourceList, |
|
|
const std::shared_ptr< const Mode > & |
mode, |
|
|
const std::shared_ptr< Subnetting > & |
subnetting |
|
) |
| |
update high impact scans
- Author
- Matthias Schartner
- Parameters
-
network | station network |
sourceList | source list |
mode | observing mode |
subnetting | subnetting information |
void HighImpactScanDescriptor::updateLogfile |
( |
std::ofstream & |
of | ) |
|
update log file for new high impact scans
- Author
- Matthias Schartner
- Parameters
-
std::vector<AzElDescriptor> VieVS::HighImpactScanDescriptor::azElDescritors_ |
|
private |
list of azimuth elevation descriptors
Subcon VieVS::HighImpactScanDescriptor::highImpactScans_ |
|
private |
unsigned int VieVS::HighImpactScanDescriptor::interval_ |
|
private |
unsigned int VieVS::HighImpactScanDescriptor::minTimeBetweenScans_ |
|
private |
minimum time between high impact scans in seconds
unsigned long HighImpactScanDescriptor::nextId = 0 |
|
staticprivate |
next id for this object type
std::vector<std::map<unsigned long, double> > VieVS::HighImpactScanDescriptor::scores_ |
|
private |
list of scores by high impact scans
The documentation for this class was generated from the following files: