Go to the documentation of this file.
91 const std::vector<GaussianFactor::shared_ptr> &
factors);
103 const std::vector<GaussianFactorValuePair> &factorPairs);
171 static FactorValuePairs augment(
const FactorValuePairs &
factors);
174 struct ConstructorHelper;
179 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
181 friend class boost::serialization::access;
182 template <
class ARCHIVE>
183 void serialize(ARCHIVE &ar,
const unsigned int ) {
184 ar &BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
185 ar &BOOST_SERIALIZATION_NVP(factors_);
Linear Factor Graph where all factors are Gaussians.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
const GaussianFactorGraph factors
std::shared_ptr< HybridFactor > shared_ptr
shared_ptr to this class
const KeyFormatter & formatter
Alias for DecisionTree of GaussianFactorGraphs and their scalar sums.
DiscreteKeys is a set of keys that can be assembled using the & operator.
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
Algebraic Decision Trees.
void print(const Matrix &A, const string &s, ostream &stream)
std::pair< GaussianFactor::shared_ptr, double > GaussianFactorValuePair
Alias for pair of GaussianFactor::shared_pointer and a double value.
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Decision Tree for use in DiscreteFactors.
const FactorValuePairs & factors() const
Getter for GaussianFactor decision tree.
specialized key for discrete variables
FactorValuePairs factors_
Decision tree of Gaussian factors indexed by discrete keys.
std::shared_ptr< GaussianFactor > sharedFactor
std::pair< Key, size_t > DiscreteKey
Implementation of a discrete-conditioned hybrid factor. Implements a joint discrete-continuous factor...
A factor with a quadratic error function - a Gaussian.
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:01:15