w2kmeans::ClusterAssociator Class Reference

Inheritance diagram for w2kmeans::ClusterAssociator:

w2kmeans::MultistageClusterAssociator List of all members.

Detailed Description

Associates clusters across time.

Author:
Lakshman
Version:
Id
w2kmeans_ClusterAssociator.h,v 1.8 2011/01/21 16:38:52 lakshman Exp


Public Member Functions

virtual ~ClusterAssociator ()
 ClusterAssociator ()
code::TimeInterval getIntervalSincePreviousFrame (const code::Time &now)
virtual void assignIDs (std::vector< TrackedRegion > &currReg, const code::Time &now)=0
void replaceRegions (std::vector< TrackedRegion > &currReg, const code::Time &now)

Static Public Member Functions

static code::SmartPtr< ClusterAssociatorcreateNew ()
static void setAssociationMethod (const std::string &method)
 Options include CENTPROJ, GLOBALCOST, OVERLAP, OVERLAPCOST, OLDEST, MULTISTAGE, AGECORR.
static void setToleranceDistanceSizeFactor (float sizefactor)
static void setToleranceDistance (float mindist_kms)
static void setCoastFrames (int frames)
static void setMaxAgeInCorrection (float maxage_minutes)

Protected Member Functions

void assignTo (TrackedRegion &curr, int best_offset_in_prev)
void assignNew (TrackedRegion &curr, const code::Time &startTime)

Protected Attributes

std::vector< TrackedRegionprevRegions
int lastID
code::Time lastTimeProcessed

Classes

struct  TrackedRegion


Constructor & Destructor Documentation

virtual w2kmeans::ClusterAssociator::~ClusterAssociator (  )  [inline, virtual]

w2kmeans::ClusterAssociator::ClusterAssociator (  )  [inline]


Member Function Documentation

virtual void w2kmeans::ClusterAssociator::assignIDs ( std::vector< TrackedRegion > &  currReg,
const code::Time &  now 
) [pure virtual]

void w2kmeans::ClusterAssociator::assignNew ( TrackedRegion curr,
const code::Time &  startTime 
) [protected]

void w2kmeans::ClusterAssociator::assignTo ( TrackedRegion curr,
int  best_offset_in_prev 
) [protected]

static code::SmartPtr<ClusterAssociator> w2kmeans::ClusterAssociator::createNew (  )  [static]

code::TimeInterval w2kmeans::ClusterAssociator::getIntervalSincePreviousFrame ( const code::Time &  now  ) 

void w2kmeans::ClusterAssociator::replaceRegions ( std::vector< TrackedRegion > &  currReg,
const code::Time &  now 
)

static void w2kmeans::ClusterAssociator::setAssociationMethod ( const std::string &  method  )  [static]

Options include CENTPROJ, GLOBALCOST, OVERLAP, OVERLAPCOST, OLDEST, MULTISTAGE, AGECORR.

static void w2kmeans::ClusterAssociator::setCoastFrames ( int  frames  )  [static]

static void w2kmeans::ClusterAssociator::setMaxAgeInCorrection ( float  maxage_minutes  )  [static]

static void w2kmeans::ClusterAssociator::setToleranceDistance ( float  mindist_kms  )  [static]

static void w2kmeans::ClusterAssociator::setToleranceDistanceSizeFactor ( float  sizefactor  )  [static]


Member Data Documentation

int w2kmeans::ClusterAssociator::lastID [protected]

code::Time w2kmeans::ClusterAssociator::lastTimeProcessed [protected]

std::vector<TrackedRegion> w2kmeans::ClusterAssociator::prevRegions [protected]


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7