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

class Subnetting_percent More...

#include <Subnetting.h>

Inheritance diagram for VieVS::Subnetting_percent:
Collaboration diagram for VieVS::Subnetting_percent:

Public Member Functions

 Subnetting_percent (std::vector< std::vector< unsigned long >> subnettingSrcIds, double percent)
 constructor More...
 
- Public Member Functions inherited from VieVS::Subnetting
 Subnetting (std::vector< std::vector< unsigned long >> subnettingSrcIds)
 constructor More...
 
bool isAllowed (unsigned long nsta, unsigned long nsta_max)
 constructor More...
 
const std::vector< std::vector< unsigned long > > & getSubnettingSrcIds () const
 constructor More...
 

Private Member Functions

bool allowedMinSta (unsigned long nsta, unsigned long nsta_max) override
 constructor More...
 

Private Attributes

double percent_
 minimum necessary percentage of stations More...
 

Detailed Description

class Subnetting_percent

Author
Matthias Schartner
Date
22.02.2019

Constructor & Destructor Documentation

VieVS::Subnetting_percent::Subnetting_percent ( std::vector< std::vector< unsigned long >>  subnettingSrcIds,
double  percent 
)
inlineexplicit

constructor

Author
Matthias Schartner
Parameters
subnettingSrcIdslist of possible subnetting source ids
percentminimum necessary percentage of stations (e.g.: = 0.8)

Member Function Documentation

bool VieVS::Subnetting_percent::allowedMinSta ( unsigned long  nsta,
unsigned long  nsta_max 
)
inlineoverrideprivatevirtual

constructor

Author
Matthias Schartner
Parameters
nstanumber of scheduled stations
nsta_maxnumber of available stations
Returns
true if subnetting scan is allowed

Implements VieVS::Subnetting.

Member Data Documentation

double VieVS::Subnetting_percent::percent_
private

minimum necessary percentage of stations


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