Public Member Functions | Private Attributes | List of all members
gtsam::MarginalizeNonleafException Class Reference

#include <nonlinearExceptions.h>

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

Public Member Functions

Key key () const
 
 MarginalizeNonleafException (Key key, KeyFormatter formatter=DefaultKeyFormatter) noexcept
 
const char * what () const noexceptoverride
 
virtual ~MarginalizeNonleafException () noexcept
 

Private Attributes

KeyFormatter formatter_
 
Key key_
 
std::string what_
 

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().

Definition at line 33 of file nonlinearExceptions.h.

Constructor & Destructor Documentation

gtsam::MarginalizeNonleafException::MarginalizeNonleafException ( Key  key,
KeyFormatter  formatter = DefaultKeyFormatter 
)
inlinenoexcept

Definition at line 38 of file nonlinearExceptions.h.

virtual gtsam::MarginalizeNonleafException::~MarginalizeNonleafException ( )
inlinevirtualnoexcept

Definition at line 40 of file nonlinearExceptions.h.

Member Function Documentation

Key gtsam::MarginalizeNonleafException::key ( ) const
inline

Definition at line 41 of file nonlinearExceptions.h.

const char* gtsam::MarginalizeNonleafException::what ( ) const
inlineoverridenoexcept

Definition at line 42 of file nonlinearExceptions.h.

Member Data Documentation

KeyFormatter gtsam::MarginalizeNonleafException::formatter_
private

Definition at line 35 of file nonlinearExceptions.h.

Key gtsam::MarginalizeNonleafException::key_
private

Definition at line 34 of file nonlinearExceptions.h.

std::string gtsam::MarginalizeNonleafException::what_
mutableprivate

Definition at line 36 of file nonlinearExceptions.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:18