Statistics of optimal control solvers.
More...
#include <solver_statistics.hpp>
|
void | reserve (const int size) |
| Reserves the data. More...
|
|
void | clear () |
| Clear the all elements. More...
|
|
void | disp (std::ostream &os) const |
| Displays the solver statistics onto a ostream. More...
|
|
Statistics of optimal control solvers.
◆ clear()
void robotoc::SolverStatistics::clear |
( |
| ) |
|
◆ disp()
void robotoc::SolverStatistics::disp |
( |
std::ostream & |
os | ) |
const |
Displays the solver statistics onto a ostream.
◆ reserve()
void robotoc::SolverStatistics::reserve |
( |
const int |
size | ) |
|
Reserves the data.
- Parameters
-
[in] | size | Size of the new data. |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const SolverStatistics & |
solver_statistics |
|
) |
| |
|
friend |
◆ convergence
bool robotoc::SolverStatistics::convergence = false |
Flags whether the convergence is achieved.
◆ cpu_time
double robotoc::SolverStatistics::cpu_time = 0 |
◆ dual_step_size
std::vector<double> robotoc::SolverStatistics::dual_step_size |
Dual step sizes at each iteration.
◆ iter
int robotoc::SolverStatistics::iter = 0 |
Number of iterations until convergence.
◆ mesh_refinement_iter
std::vector<int> robotoc::SolverStatistics::mesh_refinement_iter |
Iterations where the mesh-refinements are carried out.
◆ performance_index
Performance measurements at each iteration.
◆ primal_step_size
std::vector<double> robotoc::SolverStatistics::primal_step_size |
Primal step sizes at each iteration.
◆ ts
std::vector<std::deque<double> > robotoc::SolverStatistics::ts |
Switching times at each iteration.
The documentation for this class was generated from the following file: