WSF
wsf::BinaryDetector Class Reference

Computation of probability of detection using the binary detection algorithm. More...

#include <WsfBinaryDetector.hpp>

Inheritance diagram for wsf::BinaryDetector:
Collaboration diagram for wsf::BinaryDetector:

Public Member Functions

 BinaryDetector ()
 ~BinaryDetector () override=default
BinaryDetectorClone () const override
double ComputeProbabilityOfDetection (double aSignalToNoise, double aDetectionThreshold=UtMath::DB_ToLinear(3.0)) override
Public Member Functions inherited from wsf::SensorDetector
 SensorDetector ()
virtual ~SensorDetector ()=default
virtual bool Initialize (double aSimTime, WsfSensorMode *aModePtr, size_t aBeamIndex=0)
virtual bool ProcessInput (UtInput &aInput)
void SetDebugEnabled (bool aDebugEnabled)
 Set the debug flag for the detector.
bool DebugEnabled () const
 Returns 'true' if debugging is enabled for the detector.

Static Public Member Functions

static wsf::SensorDetectorObjectFactory (const std::string &aTypeName)
 The object factory for the Binary Detector type.

Additional Inherited Members

Protected Attributes inherited from wsf::SensorDetector
bool mDebugEnabled
 'true' if 'debug_detector' was specified.

Detailed Description

Computation of probability of detection using the binary detection algorithm.

Constructor & Destructor Documentation

◆ BinaryDetector()

wsf::BinaryDetector::BinaryDetector ( )

◆ ~BinaryDetector()

wsf::BinaryDetector::~BinaryDetector ( )
overridedefault

Member Function Documentation

◆ Clone()

BinaryDetector * wsf::BinaryDetector::Clone ( ) const
overridevirtual

Implements wsf::SensorDetector.

References BinaryDetector().

Referenced by ~BinaryDetector().

◆ ComputeProbabilityOfDetection()

double wsf::BinaryDetector::ComputeProbabilityOfDetection ( double aSignalToNoise,
double aDetectionThreshold = UtMath::DB_ToLinear(3.0) )
overridevirtual

Compute the probability of detection using binary detection threshold.

Parameters
aSignalToNoise[input] Absolute signal-to-noise ratio
aDetectionThreshold[input] Absolute detection threshold (optional)
Returns
The probability of detection [0 or 1]

Implements wsf::SensorDetector.

Referenced by ~BinaryDetector().

◆ ObjectFactory()

SensorDetector * wsf::BinaryDetector::ObjectFactory ( const std::string & aTypeName)
static

The object factory for the Binary Detector type.

References BinaryDetector(), and wsf::SensorDetector::SensorDetector().

Referenced by WsfSensorTypes::WsfSensorTypes(), and ~BinaryDetector().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved