Data for null-gradient check. More...
#include <roboptim/core/result-analyzer.hh>
Public Types | |
typedef problem_t::constraint_t | constraint_t |
Public Member Functions | |
NullGradientData () | |
bool | isValid () const |
Whether the input data is valid w.r.t. that query. More... | |
std::ostream & | print (std::ostream &o) const |
Print method. More... | |
Public Member Functions inherited from roboptim::ResultAnalyzer< T >::QueryData | |
bool | operator_bool () const |
Evaluate the query. More... | |
Public Attributes | |
size_type | null_rows |
std::map< const constraint_t, std::vector< size_type > > | constraint_indices |
Data for null-gradient check.
typedef problem_t::constraint_t roboptim::ResultAnalyzer< T >::NullGradientData::constraint_t |
roboptim::ResultAnalyzer< T >::NullGradientData::NullGradientData | ( | ) |
|
virtual |
Whether the input data is valid w.r.t. that query.
Implements roboptim::ResultAnalyzer< T >::QueryData.
|
virtual |
Print method.
Implements roboptim::ResultAnalyzer< T >::QueryData.
References roboptim::fg::bold(), roboptim::decindent(), roboptim::fg::green(), roboptim::iendl(), roboptim::incindent(), roboptim::map(), roboptim::fg::red(), and roboptim::fg::reset().
std::map<const constraint_t, std::vector<size_type> > roboptim::ResultAnalyzer< T >::NullGradientData::constraint_indices |
Referenced by roboptim::ResultAnalyzer< T >::checkNullGradient().
size_type roboptim::ResultAnalyzer< T >::NullGradientData::null_rows |
Referenced by roboptim::ResultAnalyzer< T >::checkNullGradient().