vertex_interface.cpp
Go to the documentation of this file.
1 /*********************************************************************
2  *
3  * Software License Agreement
4  *
5  * Copyright (c) 2020,
6  * TU Dortmund - Institute of Control Theory and Systems Engineering.
7  * All rights reserved.
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <https://www.gnu.org/licenses/>.
21  *
22  * Authors: Christoph Rösmann
23  *********************************************************************/
24 
26 
28 
29 namespace corbo {
30 
36 
37 /*
38 int VertexInterface::getNumObjectiveEdgesWithCustomJacobian() const
39 {
40  int num = 0;
41  for (EdgeInterface* edge : _edges_objective) num += edge->providesJacobian();
42  return num;
43 }
44 
45 int VertexInterface::getNumEqualityEdgesWithCustomJacobian() const
46 {
47  int num = 0;
48  for (EdgeInterface* edge : _edges_equalities) num += edge->providesJacobian();
49  return num;
50 }
51 
52 int VertexInterface::getNumInequalityEdgesWithCustomJacobian() const
53 {
54  int num = 0;
55  for (EdgeInterface* edge : _edges_inequalities) num += edge->providesJacobian();
56  return num;
57 }
58 */
59 
60 } // namespace corbo
void registerMixedEdge(BaseMixedEdge *edge)
Register an adjacent mixed edge.
void registerObjectiveEdge(BaseEdge *edge)
Register an adjacent objective edge.
std::set< BaseMixedEdge * > _edges_mixed
connected mixed edges
void registerInequalityEdge(BaseEdge *edge)
Register an adjacent inequality constraint edge.
std::set< BaseEdge * > _edges_objective
Retrieve number of connected objective edges with custom Jacobian.
std::set< BaseEdge * > _edges_lsq_objective
connected least-squares objective edges
std::set< BaseEdge * > _edges_inequalities
connected inequality constraint edges
std::set< BaseEdge * > _edges_equalities
connected equality constraint edges
void registerEqualityEdge(BaseEdge *edge)
Register an adjacent equality constraint edge.
void registerLsqObjectiveEdge(BaseEdge *edge)
Register an adjacent least-squares objective edge.


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Mon Feb 28 2022 22:07:58