◆ addConditionals()
Add conditionals from previous timestep as part of liquefication.
- Parameters
-
graph | The new factor graph for the current time step. |
hybridBayesNet | The hybrid bayes net containing all conditionals so far. |
ordering | The elimination ordering. |
- Returns
- std::pair<HybridGaussianFactorGraph, HybridBayesNet>
◆ update()
Given new factors, perform an incremental update. The relevant densities in the hybridBayesNet
will be added to the input graph (fragment), and then eliminated according to the ordering
presented. The remaining factor graph contains Gaussian mixture factors that are not connected to the variables in the ordering, or a single discrete factor on all discrete keys, plus all discrete factors in the original graph.
- Note
- If maxComponents is given, we look at the discrete factor resulting from this elimination, and prune it and the Gaussian components corresponding to the pruned choices.
- Parameters
-
graph | The new factors, should be linear only |
ordering | The ordering for elimination, only continuous vars are allowed |
maxNrLeaves | The maximum number of leaves in the new discrete factor, if applicable |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/gtsam-jlblanco-docs/checkouts/latest/gtsam/hybrid/HybridSmoother.h