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 noexcept override
 
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 32 of file nonlinearExceptions.h.

Constructor & Destructor Documentation

◆ MarginalizeNonleafException()

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

Definition at line 37 of file nonlinearExceptions.h.

◆ ~MarginalizeNonleafException()

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

Definition at line 39 of file nonlinearExceptions.h.

Member Function Documentation

◆ key()

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

Definition at line 40 of file nonlinearExceptions.h.

◆ what()

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

Definition at line 41 of file nonlinearExceptions.h.

Member Data Documentation

◆ formatter_

KeyFormatter gtsam::MarginalizeNonleafException::formatter_
private

Definition at line 34 of file nonlinearExceptions.h.

◆ key_

Key gtsam::MarginalizeNonleafException::key_
private

Definition at line 33 of file nonlinearExceptions.h.

◆ what_

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

Definition at line 35 of file nonlinearExceptions.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:23:58