src/ufo/filters/TrackCheckShip.cc
void TrackCheckShip::flagRejectedTrackObservations(
    std::vector<size_t>::const_iterator trackObsIndicesBegin,
    std::vector<size_t>::const_iterator trackObsIndicesEnd,
    const std::vector<size_t> &validObsIds,
    const std::vector<TrackObservation> &trackObservations,
    std::vector<bool> &isRejected) const {
  auto trackObsIndexIt = trackObsIndicesBegin;
  auto trackObsIt = trackObservations.begin();
  for (; trackObsIndexIt != trackObsIndicesEnd; ++trackObsIndexIt, ++trackObsIt)
    isRejected[validObsIds[*trackObsIndexIt]] = trackObsIt->rejected();
}
/// Detects whether each observation in a track has been rejected, and marks
/// the corresponding space in \p isRejected as true if so.
/// \param trackObsIndicesBegin the begin iterator of the track
/// \param trackObsIndicesEnd the end iterator
/// \param validObsIds the vector marking all of the observations' global
/// positions
/// \param trackObservations the full vector of observations within
/// the single track
/// \param isRejected the boolean vector whose indices correspond to all of
/// the rejected observations in the full input dataset
Detects whether each observation in a track has been rejected, and marks
the corresponding space in \p isRejected as true if so.
Detects whether each observation in a track has been rejected and marks the corresponding space in \ p isRejected as true if so .
void TrackCheckShip::flagRejectedTrackObservations(
    std::vector<size_t>::const_iterator trackObsIndicesBegin,
    std::vector<size_t>::const_iterator trackObsIndicesEnd,
    const std::vector<size_t> &validObsIds,
    const std::vector<TrackObservation> &trackObservations,
    std::vector<bool> &isRejected) const {
  auto trackObsIndexIt = trackObsIndicesBegin;
  auto trackObsIt = trackObservations.begin();
  for (; trackObsIndexIt != trackObsIndicesEnd; ++trackObsIndexIt, ++trackObsIt)
    isRejected[validObsIds[*trackObsIndexIt]] = trackObsIt->rejected();
}
void TrackCheckShip :: flagRejectedTrackObservations ( std :: vector < size_t > :: const_iterator trackObsIndicesBegin , std :: vector < size_t > :: const_iterator trackObsIndicesEnd , const std :: vector < size_t > & validObsIds , const std :: vector < TrackObservation > & trackObservations , std :: vector < bool > & isRejected ) const { auto trackObsIndexIt = trackObsIndicesBegin ; auto trackObsIt = trackObservations . begin ( ) ; for ( ; trackObsIndexIt != trackObsIndicesEnd ; ++ trackObsIndexIt , ++ trackObsIt ) isRejected [ validObsIds [ * trackObsIndexIt ] ] = trackObsIt -> rejected ( ) ; }
Detects whether each observation in a track has been rejected, and marks
the corresponding space in \p isRejected as true if so.
Detects whether each observation in a track has been rejected and marks the corresponding space in \ p isRejected as true if so .