|
| TrackObservation (double latitude, double longitude, const util::DateTime &time, const std::shared_ptr< TrackStatistics > &trackStatistics, const std::shared_ptr< TrackCheckUtils::CheckCounter > &checkCounter, size_t observationNumber) |
|
const TrackCheckUtils::Point & | getLocation () const |
|
const util::DateTime & | getTime () const |
|
void | setDistance (double dist) |
|
void | setTimeDifference (util::Duration tDiff) |
|
void | setSpeed (double speed) |
|
void | setAngle (double angle) |
|
void | setDistanceAveraged (double distAvg) |
|
void | setSpeedAveraged (double speedAvg) |
|
void | calculateTwoObservationValues (TrackObservation &prevObs, bool firstIteration, const TrackCheckShipParameters &options) |
| Calculates all of the statistics that require only two adjacent TrackObservations , storing within the righthand observation. More...
|
|
void | resetObservationCalculations () |
|
void | calculateThreeObservationValues (const TrackObservation &prevObs, const TrackObservation &nextObs, bool firstIteration, const TrackCheckShipParameters &options) |
|
void | adjustTwoObservationStatistics (const TrackCheckShipParameters &options) const |
| Keeps track of 0-distanced, short, and fast track segments, as well as incrementing sumSpeed_ for normal track segments. More...
|
|
void | adjustThreeObservationStatistics () const |
| Increments number of bends if angle is greater than or equal to 90 degrees. More...
|
|
const std::shared_ptr< TrackStatistics > | getFullTrackStatistics () const |
|
const ObservationStatistics & | getObservationStatistics () const |
|
void | setRejected (bool rejectedInSweep) |
|
size_t | getObservationNumber () const |
|
bool | rejected () const |
|
◆ TrackObservation()
ufo::TrackCheckShip::TrackObservation::TrackObservation |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
const util::DateTime & |
time, |
|
|
const std::shared_ptr< TrackStatistics > & |
trackStatistics, |
|
|
const std::shared_ptr< TrackCheckUtils::CheckCounter > & |
checkCounter, |
|
|
size_t |
observationNumber |
|
) |
| |
◆ adjustThreeObservationStatistics()
void ufo::TrackCheckShip::TrackObservation::adjustThreeObservationStatistics |
( |
| ) |
const |
Increments number of bends if angle is greater than or equal to 90 degrees.
Definition at line 635 of file TrackCheckShip.cc.
◆ adjustTwoObservationStatistics()
void ufo::TrackCheckShip::TrackObservation::adjustTwoObservationStatistics |
( |
const TrackCheckShipParameters & |
options | ) |
const |
Keeps track of 0-distanced, short, and fast track segments, as well as incrementing sumSpeed_
for normal track segments.
Definition at line 622 of file TrackCheckShip.cc.
◆ calculateThreeObservationValues()
Calculates all of the statistics that require three consecutive TrackObservations
, storing within the middle observation. This includes distance between two alternating observations, speed between these alternating observations (if the middle observation was not recorded), and the angle formed by the three-observation track segment. Calls function to increment track-wise counters based on results.
Definition at line 567 of file TrackCheckShip.cc.
◆ calculateTwoObservationValues()
Calculates all of the statistics that require only two adjacent TrackObservations
, storing within the righthand observation.
- Todo:
- Trace output will need to be changed to match that of OPS (indices, LWin)
This includes distance between the two observations, time difference between the observations, speed between the observations, and if the observations are recorded for the same time. Calls function to increment track-wise counters based on results.
Definition at line 538 of file TrackCheckShip.cc.
◆ getFullTrackStatistics()
◆ getLocation()
◆ getObservationNumber()
size_t ufo::TrackCheckShip::TrackObservation::getObservationNumber |
( |
| ) |
const |
◆ getObservationStatistics()
◆ getTime()
const util::DateTime& ufo::TrackCheckShip::TrackObservation::getTime |
( |
| ) |
const |
|
inline |
◆ rejected()
bool ufo::TrackCheckShip::TrackObservation::rejected |
( |
| ) |
const |
|
inline |
◆ resetObservationCalculations()
void ufo::TrackCheckShip::TrackObservation::resetObservationCalculations |
( |
| ) |
|
◆ setAngle()
void ufo::TrackCheckShip::TrackObservation::setAngle |
( |
double |
angle | ) |
|
◆ setDistance()
void ufo::TrackCheckShip::TrackObservation::setDistance |
( |
double |
dist | ) |
|
◆ setDistanceAveraged()
void ufo::TrackCheckShip::TrackObservation::setDistanceAveraged |
( |
double |
distAvg | ) |
|
◆ setRejected()
void ufo::TrackCheckShip::TrackObservation::setRejected |
( |
bool |
rejectedInSweep | ) |
|
|
inline |
◆ setSpeed()
void ufo::TrackCheckShip::TrackObservation::setSpeed |
( |
double |
speed | ) |
|
◆ setSpeedAveraged()
void ufo::TrackCheckShip::TrackObservation::setSpeedAveraged |
( |
double |
speedAvg | ) |
|
◆ setTimeDifference()
void ufo::TrackCheckShip::TrackObservation::setTimeDifference |
( |
util::Duration |
tDiff | ) |
|
◆ fullTrackStatistics_
std::shared_ptr<TrackStatistics> ufo::TrackCheckShip::TrackObservation::fullTrackStatistics_ |
|
private |
◆ observationNumber_
size_t ufo::TrackCheckShip::TrackObservation::observationNumber_ |
|
private |
◆ observationStatistics_
◆ obsLocationTime_
◆ rejected_
bool ufo::TrackCheckShip::TrackObservation::rejected_ |
|
private |
The documentation for this class was generated from the following files: