inferenceExceptions.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
18 #pragma once
19 
20 #include <gtsam/global_includes.h>
21 #include <gtsam/inference/Key.h>
22 
23 #include <exception>
24 
25 namespace gtsam {
26 
31 class InconsistentEliminationRequested : public std::exception {
34 
35  public:
37 
39  const KeySet& keys,
41 
42  ~InconsistentEliminationRequested() noexcept override {}
43 
44  const char* what() const noexcept override;
45 };
46 } // namespace gtsam
gtsam::InconsistentEliminationRequested::InconsistentEliminationRequested
InconsistentEliminationRequested() noexcept
Definition: inferenceExceptions.h:36
gtsam::InconsistentEliminationRequested::~InconsistentEliminationRequested
~InconsistentEliminationRequested() noexcept override
Definition: inferenceExceptions.h:42
global_includes.h
Included from all GTSAM files.
keys
const KeyVector keys
Definition: testRegularImplicitSchurFactor.cpp:40
gtsam::InconsistentEliminationRequested::keys_
KeyVector keys_
Definition: inferenceExceptions.h:32
gtsam::FastSet
Definition: FastSet.h:51
gtsam::InconsistentEliminationRequested::keyFormatter
const KeyFormatter & keyFormatter
Definition: inferenceExceptions.h:33
gtsam::KeyVector
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition: Key.h:92
gtsam::DefaultKeyFormatter
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
Definition: Key.cpp:30
Key.h
gtsam::InconsistentEliminationRequested::what
const char * what() const noexcept override
Definition: inferenceExceptions.cpp:29
gtsam::KeyFormatter
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition: Key.h:35
gtsam::InconsistentEliminationRequested
Definition: inferenceExceptions.h:31
gtsam
traits
Definition: chartTesting.h:28
gtsam::key_formatter
Definition: Key.h:78


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:02:37