gtsam 4.1.1
gtsam
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
21#include <boost/lexical_cast.hpp>
22#include <exception>
23
24namespace gtsam {
25
29 class InconsistentEliminationRequested : public std::exception {
30 public:
32 ~InconsistentEliminationRequested() noexcept override {}
33 const char* what() const noexcept override {
34 return
35 "An inference algorithm was called with inconsistent arguments. The\n"
36 "factor graph, ordering, or variable index were inconsistent with each\n"
37 "other, or a full elimination routine was called with an ordering that\n"
38 "does not include all of the variables.";
39 }
40 };
41
42}
Included from all GTSAM files.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
An inference algorithm was called with inconsistent arguments.
Definition: inferenceExceptions.h:29