KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::mcmcda::Prior< Track > Class Template Reference

Computes the prior of an MCMCDA association. More...

#include <mcmcda_prior.h>

Public Member Functions

 Prior (double kappa, double theta, double lambda_N, double lambda_A)
 Constructs a MCMCDA prior functor. More...
 
double operator() (const Association< Track > &w) const
 Apply this functor to an association. More...
 
double kappa () const
 Get average number of before start of video. More...
 
double theta () const
 Get average track length. More...
 
double lambda_N () const
 Get false detection rate. More...
 
double lambda_A () const
 Get detection rate. More...
 
double lambda_O () const
 Get occluded detection rate. More...
 
void set_kappa (double kappa)
 Set average number of tracks per time. More...
 
void set_theta (double theta)
 Set average track length. More...
 
void set_lambda_N (double lambda_N)
 Set false detection rate. More...
 
void set_lambda_A (double lambda_A)
 Set detection rate. More...
 
void set_lambda_O (double lambda_O)
 Set occluded detection rate. More...
 

Detailed Description

template<class Track>
class kjb::mcmcda::Prior< Track >

Computes the prior of an MCMCDA association.

This functor computes the prior of an association.

Constructor & Destructor Documentation

template<class Track>
kjb::mcmcda::Prior< Track >::Prior ( double  kappa,
double  theta,
double  lambda_N,
double  lambda_A 
)
inline

Constructs a MCMCDA prior functor.

Parameters
kappaExpected number of tracks when video starts.
thetaAverage track length.
lambda_NAverage number of false alarms per frame.
lambda_AAverage number of detections per track per frame.
lambda_OAverage number of detections per occluded track per frame.

Member Function Documentation

template<class Track>
double kjb::mcmcda::Prior< Track >::kappa ( ) const
inline

Get average number of before start of video.

template<class Track>
double kjb::mcmcda::Prior< Track >::lambda_A ( ) const
inline

Get detection rate.

template<class Track>
double kjb::mcmcda::Prior< Track >::lambda_N ( ) const
inline

Get false detection rate.

template<class Track>
double kjb::mcmcda::Prior< Track >::lambda_O ( ) const
inline

Get occluded detection rate.

template<class Track >
double kjb::mcmcda::Prior< Track >::operator() ( const Association< Track > &  w) const

Apply this functor to an association.

Parameters
wThe association in question.
Returns
The log-prior probability of the given association
template<class Track>
void kjb::mcmcda::Prior< Track >::set_kappa ( double  kappa)
inline

Set average number of tracks per time.

template<class Track>
void kjb::mcmcda::Prior< Track >::set_lambda_A ( double  lambda_A)
inline

Set detection rate.

template<class Track>
void kjb::mcmcda::Prior< Track >::set_lambda_N ( double  lambda_N)
inline

Set false detection rate.

template<class Track>
void kjb::mcmcda::Prior< Track >::set_lambda_O ( double  lambda_O)
inline

Set occluded detection rate.

template<class Track>
void kjb::mcmcda::Prior< Track >::set_theta ( double  theta)
inline

Set average track length.

template<class Track>
double kjb::mcmcda::Prior< Track >::theta ( ) const
inline

Get average track length.


The documentation for this class was generated from the following file: