gtsam
nonlinear
internal
NonlinearOptimizerState.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
20
#pragma once
21
22
#include <
gtsam/nonlinear/Values.h
>
23
24
namespace
gtsam
{
25
namespace
internal
{
26
34
struct
NonlinearOptimizerState
{
35
public
:
37
const
Values
values
;
38
40
const
double
error
;
41
43
const
size_t
iterations
;
44
45
virtual
~NonlinearOptimizerState
() {}
46
47
NonlinearOptimizerState
(
const
Values
&
values
,
double
error
,
size_t
iterations
= 0)
48
:
values
(
values
),
error
(
error
),
iterations
(
iterations
) {}
49
50
// Constructor version that takes ownership of values
51
NonlinearOptimizerState
(
Values
&&
values
,
double
error
,
size_t
iterations
= 0)
52
:
values
(
std
::
move
(
values
)),
error
(
error
),
iterations
(
iterations
) {}
53
};
54
55
}
// namespace internal
56
}
// namespace gtsam
gtsam::internal::NonlinearOptimizerState::values
const Values values
Definition:
NonlinearOptimizerState.h:37
gtsam::internal::NonlinearOptimizerState::iterations
const size_t iterations
Definition:
NonlinearOptimizerState.h:43
gtsam::internal::NonlinearOptimizerState::~NonlinearOptimizerState
virtual ~NonlinearOptimizerState()
Definition:
NonlinearOptimizerState.h:45
gtsam::internal::NonlinearOptimizerState::NonlinearOptimizerState
NonlinearOptimizerState(Values &&values, double error, size_t iterations=0)
Definition:
NonlinearOptimizerState.h:51
gtsam::internal::NonlinearOptimizerState::error
const double error
Definition:
NonlinearOptimizerState.h:40
gtsam::internal::NonlinearOptimizerState
Definition:
NonlinearOptimizerState.h:34
move
detail::enable_if_t<!detail::move_never< T >::value, T > move(object &&obj)
Definition:
cast.h:1243
gtsam
traits
Definition:
SFMdata.h:40
gtsam::Values
Definition:
Values.h:65
std
Definition:
BFloat16.h:88
internal
Definition:
BandTriangularSolver.h:13
Values.h
A non-templated config holding any types of Manifold-group elements.
gtsam::internal::NonlinearOptimizerState::NonlinearOptimizerState
NonlinearOptimizerState(const Values &values, double error, size_t iterations=0)
Definition:
NonlinearOptimizerState.h:47
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:13