gtsam_unstable
linear
InfeasibleInitialValues.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
19
#pragma once
20
21
namespace
gtsam
{
22
/* ************************************************************************* */
26
class
InfeasibleInitialValues
:
public
ThreadsafeException
<
27
InfeasibleInitialValues> {
28
public
:
29
InfeasibleInitialValues
() {
30
}
31
32
~InfeasibleInitialValues
() noexcept
override
{
33
}
34
35
const
char
*
what
() const noexcept
override
{
36
if
(
description_
->empty())
37
description_
=
38
"An infeasible initial value was provided for the solver.\n"
;
39
return
description_
->c_str();
40
}
41
};
42
}
gtsam::InfeasibleInitialValues::what
const char * what() const noexcept override
Definition:
InfeasibleInitialValues.h:35
gtsam::ThreadsafeException
Base exception type that uses tbb_allocator if GTSAM is compiled with TBB.
Definition:
ThreadsafeException.h:40
gtsam::InfeasibleInitialValues::~InfeasibleInitialValues
~InfeasibleInitialValues() noexcept override
Definition:
InfeasibleInitialValues.h:32
gtsam::ThreadsafeException< InfeasibleInitialValues >::description_
std::optional< String > description_
Optional description.
Definition:
ThreadsafeException.h:58
gtsam
traits
Definition:
SFMdata.h:40
gtsam::InfeasibleInitialValues::InfeasibleInitialValues
InfeasibleInitialValues()
Definition:
InfeasibleInitialValues.h:29
gtsam::InfeasibleInitialValues
Definition:
InfeasibleInitialValues.h:26
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:42