WSF
WsfDetectionProbabilityTable.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSPROBABILITYTABLE_HPP
13#define WSPROBABILITYTABLE_HPP
14
15#include "wsf_export.h"
16
17#include "TblLookup.hpp"
18class UtInput;
19#include "UtMath.hpp"
20#include "WsfSensorDetector.hpp"
21class WsfSensorMode;
22
23namespace wsf
24{
25
28{
29public:
32 virtual ~DetectionProbabilityTable() = default;
33
34 DetectionProbabilityTable* Clone() const override;
35
36 bool Initialize(double aSimTime, WsfSensorMode* aModePtr, size_t aBeamIndex = 0) override;
37 bool ProcessInput(UtInput& aInput) override;
38
39 void ReadTable(UtInput& aInput); // TODO-AWK needs to be public yet due to WsfRadarSensor
40
41 double ComputeProbabilityOfDetection(double aSignalToNoise,
42 double aDetectionThreshold = UtMath::DB_ToLinear(3.0)) override;
43
44 static SensorDetector* ObjectFactory(const std::string& aTypeName);
45
46private:
47 TblIndVarU<double> mSignalTable;
48 TblDepVar1<double> mPdTable;
49};
50
51} // namespace wsf
52
53#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfSensorMode.hpp:36
virtual ~DetectionProbabilityTable()=default
bool ProcessInput(UtInput &aInput) override
Definition WsfDetectionProbabilityTable.cpp:88
DetectionProbabilityTable operator=(const DetectionProbabilityTable &aRhs)=delete
void ReadTable(UtInput &aInput)
Definition WsfDetectionProbabilityTable.cpp:108
DetectionProbabilityTable * Clone() const override
Definition WsfDetectionProbabilityTable.cpp:35
static SensorDetector * ObjectFactory(const std::string &aTypeName)
The object factory for the Marcum-Swerling Detector type.
Definition WsfDetectionProbabilityTable.cpp:174
double ComputeProbabilityOfDetection(double aSignalToNoise, double aDetectionThreshold=UtMath::DB_ToLinear(3.0)) override
Definition WsfDetectionProbabilityTable.cpp:163
DetectionProbabilityTable()
Definition WsfDetectionProbabilityTable.cpp:28
bool Initialize(double aSimTime, WsfSensorMode *aModePtr, size_t aBeamIndex=0) override
Definition WsfDetectionProbabilityTable.cpp:40
SensorDetector()
Definition WsfSensorDetector.cpp:24
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved