.. _program_listing_file_src_navtk_utils_OutlierDetection.hpp: Program Listing for File OutlierDetection.hpp ============================================= |exhale_lsh| :ref:`Return to documentation for file ` (``src/navtk/utils/OutlierDetection.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include namespace navtk { namespace utils { class OutlierDetection { public: virtual ~OutlierDetection() = default; OutlierDetection(size_t buffer_size); bool is_outlier(double value); private: virtual bool is_last_item_an_outlier(navtk::Vector const& data) const = 0; RingBuffer value_history; }; // class OutlierDetection } // namespace utils } // namespace navtk