|
WSF
|
#include <WsfMTT_Correlation.hpp>


Public Member Functions | |
| WsfMTT_Correlation () | |
| WsfMTT_Correlation (const WsfMTT_Correlation &aSrc) | |
| WsfMTT_Correlation & | operator= (const WsfMTT_Correlation &)=delete |
| ~WsfMTT_Correlation () override=default | |
| WsfCorrelationStrategy * | Clone () 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) |
| WsfLocalTrack * | CorrelateImpl (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) |
| WsfLocalTrack * | Correlate (double aSimTime, const WsfTrack &aNonLocalTrack, WsfLocalTrackList &aTrackList) |
| const WsfTrackId & | GetCorrelatedTrackId (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) |
| WsfTrackManager & | GetTrackManager () |
| Return a reference to the track manager being accessed internally by this object. | |
| void | SetTrackManager (WsfTrackManager *aTrackManagerPtr) |
| WsfSimulation * | GetSimulation () 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 TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (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< WsfCorrelationStrategy > | CorrelationStrategyTypes |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| Protected Member Functions inherited from WsfCorrelationStrategy | |
| WsfCorrelationStrategy () | |
| WsfCorrelationStrategy (const WsfCorrelationStrategy &aSrc) | |
| WsfCorrelationStrategy & | operator= (const WsfCorrelationStrategy &aRhs) |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
| Protected Attributes inherited from WsfCorrelationStrategy | |
| std::map< WsfTrackId, WsfTrackId > | mCorrelationMap |
An implementation of WsfCorrelationStrategy implementing the correlation algorithms of the Suppressor 7 MTT (Multi-Target tracker). This is a nearest-neighbor strategy.
| WsfMTT_Correlation::WsfMTT_Correlation | ( | ) |
References WsfCorrelationStrategy::WsfCorrelationStrategy().
Referenced by Clone(), operator=(), and WsfMTT_Correlation().
| WsfMTT_Correlation::WsfMTT_Correlation | ( | const WsfMTT_Correlation & | aSrc | ) |
References WsfCorrelationStrategy::WsfCorrelationStrategy(), and WsfMTT_Correlation().
|
overridedefault |
|
inlineoverridevirtual |
Create a clone of "this" object.
Implements WsfCorrelationStrategy.
References WsfCorrelationStrategy::WsfCorrelationStrategy(), and WsfMTT_Correlation().
|
overridevirtual |
Given a non-local track update (or measurement), find the track in the track list that correlates with the given track or measurement.
Implements WsfCorrelationStrategy.
References MTT_PerceivedCluster::CopyFrom(), WsfLocalTrack::Correlate(), WsfLocalTrack::DecorrelateAll(), DecorrelateNonlocalTrack(), WsfTrackManager::FindCorrelatedTrack(), WsfTrackManager::FindRawTrack(), WsfTrackManager::FindTrack(), GetActiveTrackId(), WsfAuxDataEnabled::GetAuxData(), WsfAuxDataEnabled::GetAuxDataConst(), WsfTrackManager::GetCorrelationStrategy(), MTT_Track::GetId(), WsfObject::GetName(), WsfTrackManager::GetPlatform(), WsfLocalTrack::GetRawTrackIds(), WsfTrack::GetTrackId(), WsfCorrelationStrategy::GetTrackManager(), WsfTrackManager::InitiateTrackSilent(), MTT_Track::mTrackId, MTT_PerceivedCluster::mTrackNumber, WsfCorrelationStrategy::NewTrackCorrelation(), WsfTrackManager::NotifyOfLocalTrackInitiated(), and WsfUtil::TrackIdToInt().
| void WsfMTT_Correlation::DecorrelateNonlocalTrack | ( | const WsfTrack & | aNonLocalTrack | ) |
References WsfObject::GetName(), WsfTrackManager::GetPlatform(), WsfTrack::GetTrackId(), and WsfCorrelationStrategy::GetTrackManager().
Referenced by CorrelateImpl().
| 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().
|
overridevirtual |
Perform any necessary initialization.
Reimplemented from WsfCorrelationStrategy.
References WsfTrackManager::GetSimulation(), WsfCorrelationStrategy::GetTrackManager(), WsfCorrelationStrategy::Initialize(), WsfTrackManager::LocalTrackCorrelation, WsfTrackManager::LocalTrackDecorrelation, WsfTrackManager::LocalTrackDropped, WsfTrackManager::RawTrackDropped, WsfMTT_Interface::Register(), and WsfTrackManager::SetInitiateLocalTracks().
|
delete |
References WsfMTT_Correlation().
|
overridevirtual |
Process input from a common source.
Reimplemented from WsfCorrelationStrategy.