WSF
WsfMTT_Correlation Class Reference

#include <WsfMTT_Correlation.hpp>

Inheritance diagram for WsfMTT_Correlation:
Collaboration diagram for WsfMTT_Correlation:

Public Member Functions

 WsfMTT_Correlation ()
 WsfMTT_Correlation (const WsfMTT_Correlation &aSrc)
WsfMTT_Correlationoperator= (const WsfMTT_Correlation &)=delete
 ~WsfMTT_Correlation () override=default
WsfCorrelationStrategyClone () const override
 Create a clone of "this" object.
bool ProcessInput (UtInput &aInput) override
 Process input from a common source.
bool Initialize (WsfTrackManager *aTrackManagerPtr) override
 Perform any necessary initialization.
int GetActiveTrackId (const WsfTrackId &aLocalTrackId) const
void DecorrelateNonlocalTrack (const WsfTrack &aNonLocalTrack)
WsfLocalTrackCorrelateImpl (double aSimTime, const WsfTrack &aNonLocalTrack, WsfLocalTrackList &aTrackList) override
Public Member Functions inherited from WsfCorrelationStrategy
 ~WsfCorrelationStrategy () override=default
void NewTrackCorrelation (const WsfTrack &aRawTrack, const WsfLocalTrack &aLocalTrack)
WsfLocalTrackCorrelate (double aSimTime, const WsfTrack &aNonLocalTrack, WsfLocalTrackList &aTrackList)
const WsfTrackIdGetCorrelatedTrackId (const WsfTrackId &aRawTrackId) const
virtual void Decorrelate (const WsfTrackId &aRawTrackId)
 Allow the user to break an existing correlation.
void NotifyOfLocalTrackCorrelation (double aSimTime, const WsfLocalTrack &aLocalTrack, const WsfTrackId &aRawTrackId)
WsfTrackManagerGetTrackManager ()
 Return a reference to the track manager being accessed internally by this object.
void SetTrackManager (WsfTrackManager *aTrackManagerPtr)
WsfSimulationGetSimulation () const
bool TestCorrelation (const WsfTrack &aTrack1, const WsfTrack &aTrack2)
 Method to facilitate unit testing.
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Additional Inherited Members

Public Types inherited from WsfCorrelationStrategy
typedef WsfObjectTypeList< WsfCorrelationStrategyCorrelationStrategyTypes
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
Protected Member Functions inherited from WsfCorrelationStrategy
 WsfCorrelationStrategy ()
 WsfCorrelationStrategy (const WsfCorrelationStrategy &aSrc)
WsfCorrelationStrategyoperator= (const WsfCorrelationStrategy &aRhs)
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).
Protected Attributes inherited from WsfCorrelationStrategy
std::map< WsfTrackId, WsfTrackIdmCorrelationMap

Detailed Description

An implementation of WsfCorrelationStrategy implementing the correlation algorithms of the Suppressor 7 MTT (Multi-Target tracker). This is a nearest-neighbor strategy.

Constructor & Destructor Documentation

◆ WsfMTT_Correlation() [1/2]

WsfMTT_Correlation::WsfMTT_Correlation ( )

◆ WsfMTT_Correlation() [2/2]

WsfMTT_Correlation::WsfMTT_Correlation ( const WsfMTT_Correlation & aSrc)

◆ ~WsfMTT_Correlation()

WsfMTT_Correlation::~WsfMTT_Correlation ( )
overridedefault

Member Function Documentation

◆ Clone()

WsfCorrelationStrategy * WsfMTT_Correlation::Clone ( ) const
inlineoverridevirtual

Create a clone of "this" object.

Implements WsfCorrelationStrategy.

References WsfCorrelationStrategy::WsfCorrelationStrategy(), and WsfMTT_Correlation().

◆ CorrelateImpl()

◆ DecorrelateNonlocalTrack()

void WsfMTT_Correlation::DecorrelateNonlocalTrack ( const WsfTrack & aNonLocalTrack)

◆ GetActiveTrackId()

int WsfMTT_Correlation::GetActiveTrackId ( const WsfTrackId & aLocalTrackId) const

Return the correlated active track id for the given local track id. If no correlation exists, -1 is returned.

Referenced by CorrelateImpl().

◆ Initialize()

◆ operator=()

WsfMTT_Correlation & WsfMTT_Correlation::operator= ( const WsfMTT_Correlation & )
delete

References WsfMTT_Correlation().

◆ ProcessInput()

bool WsfMTT_Correlation::ProcessInput ( UtInput & aInput)
overridevirtual

Process input from a common source.

Reimplemented from WsfCorrelationStrategy.


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