KJB
|
Gibbs proposal mechanism for tracking. Complies with Gibbs proposer concept. More...
#include <mcmcda_gibbs_proposer.h>
Public Member Functions | |
Gibbs_proposer (const Prior< Track > &prior, const Lhood &likelihood, int neighborhood_size=-1) | |
Ctor with default-constructible track. More... | |
Gibbs_proposer (const Prior< Track > &prior, const Lhood &likelihood, const Track &default_track, int neighborhood_size=-1) | |
Ctor. More... | |
boost::optional< double > | operator() (Association< Track > &w_p, size_t var) const |
Samples a new association from a given one, and computes 'forward' and 'reverse' probabilities. More... | |
bool | is_track_affected (const Track &track, const Location_pair &cur_location) const |
Tests whether a track is affected by current variable. More... | |
Location_pair | get_time_and_place (size_t var, const Data< Element > &data) const |
Converts a variable index into a time and point;. More... | |
Gibbs proposal mechanism for tracking. Complies with Gibbs proposer concept.
|
inline |
Ctor with default-constructible track.
|
inline |
Ctor.
Gibbs_proposer< Track, Lhood >::Location_pair kjb::mcmcda::Gibbs_proposer< Track, Lhood >::get_time_and_place | ( | size_t | var, |
const Data< Element > & | data | ||
) | const |
Converts a variable index into a time and point;.
bool kjb::mcmcda::Gibbs_proposer< Track, Lhood >::is_track_affected | ( | const Track & | track, |
const Location_pair & | cur_location | ||
) | const |
Tests whether a track is affected by current variable.
boost::optional< double > kjb::mcmcda::Gibbs_proposer< Track, Lhood >::operator() | ( | Association< Track > & | w_p, |
size_t | var | ||
) | const |
Samples a new association from a given one, and computes 'forward' and 'reverse' probabilities.