GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Member Functions | List of all members
gtsam::MarginalizeNonleafException Class Reference

#include <nonlinearExceptions.h>

Inheritance diagram for gtsam::MarginalizeNonleafException:
Inheritance graph
[legend]
Collaboration diagram for gtsam::MarginalizeNonleafException:
Collaboration graph
[legend]

Public Member Functions

 MarginalizeNonleafException (Key key, KeyFormatter formatter=DefaultKeyFormatter) noexcept
 
Key key () const
 
const char * what () const noexcept override
 

Detailed Description

Thrown when requesting to marginalize out variables from ISAM2 that are not leaves. To make the variables you would like to marginalize be leaves, their ordering should be constrained using the constrainedKeys argument to ISAM2::update().


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