Class OccupancyClassifier

Class Documentation

class OccupancyClassifier

Public Functions

inline explicit OccupancyClassifier(FloatingPoint log_odds_occupancy_threshold = 0.f)
inline FloatingPoint getOccupancyThreshold() const
inline constexpr Occupancy::Id classify(FloatingPoint log_odds_occupancy) const
inline constexpr Occupancy::Mask toMask(FloatingPoint log_odds_occupancy) const
inline constexpr bool is(FloatingPoint log_odds_occupancy, Occupancy::Id occupancy_type) const
inline constexpr bool is(FloatingPoint log_odds_occupancy, Occupancy::Mask occupancy_mask) const

Public Static Functions

static inline FloatingPoint getUnobservedThreshold()
static inline constexpr bool has(Occupancy::Mask region_occupancy, Occupancy::Id occupancy_type)
static inline constexpr bool has(Occupancy::Mask region_occupancy, Occupancy::Mask occupancy_mask)
static inline constexpr bool isFully(Occupancy::Mask region_occupancy, Occupancy::Id occupancy_type)
static inline constexpr bool isFully(Occupancy::Mask region_occupancy, Occupancy::Mask occupancy_mask)
static inline constexpr bool isUnobserved(FloatingPoint log_odds_occupancy)
static inline constexpr bool isObserved(FloatingPoint log_odds_occupancy)
template<typename A, typename B>
static constexpr bool has(A region_occupancy, B occupancy_mask) = delete
template<typename A, typename B>
static constexpr bool isFully(A region_occupancy, B occupancy_mask) = delete