improved comments
parent
80000b7e1b
commit
0bbd279bbb
|
|
@ -261,6 +261,7 @@ hybridElimination(const HybridGaussianFactorGraph &factors,
|
|||
if (!factor) {
|
||||
return 0.0; // If nullptr, return 0.0 probability
|
||||
} else {
|
||||
// This is the probability q(μ) at the MLE point.
|
||||
double error =
|
||||
0.5 * std::abs(factor->augmentedInformation().determinant());
|
||||
return std::exp(-error);
|
||||
|
|
|
|||
|
|
@ -252,8 +252,8 @@ class GTSAM_EXPORT HybridGaussianFactorGraph
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Compute the unnormalized probabilities of the continuous variables
|
||||
* for each of the modes.
|
||||
* @brief Compute the unnormalized probabilities P(X | M, Z)
|
||||
* of the continuous variables for each of the mode sequences.
|
||||
*
|
||||
* @tparam BAYES Template on the type of Bayes graph, either a bayes net or a
|
||||
* bayes tree.
|
||||
|
|
@ -304,8 +304,6 @@ class GTSAM_EXPORT HybridGaussianFactorGraph
|
|||
std::pair<Ordering, Ordering> separateContinuousDiscreteOrdering(
|
||||
const Ordering& ordering) const;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Return a Colamd constrained ordering where the discrete keys are
|
||||
* eliminated after the continuous keys.
|
||||
|
|
|
|||
Loading…
Reference in New Issue