Struct ProblemInformation

Struct Documentation

struct ceres_error_terms::ProblemInformation

Public Types

typedef std::unordered_map<ceres::CostFunction*, ResidualInformation> ResidualInformationMap
typedef std::unordered_map<double*, ParameterBoundInformation> ParameterBoundMap
typedef std::unordered_map<double*, std::shared_ptr<ceres::LocalParameterization>> ParameterizationsMap

Public Functions

inline void clearProblemInformation()
inline void addResidualBlock(ResidualType residual_type, std::shared_ptr<ceres::CostFunction> cost_function, std::shared_ptr<ceres::LossFunction> loss_function, const std::vector<double*> &parameter_blocks)
inline void setParameterization(double *parameter_block, const std::shared_ptr<ceres::LocalParameterization> &parameterization)
inline void replaceParameterization(double *parameter_block, const std::shared_ptr<ceres::LocalParameterization> &parameterization)
inline void setParameterizationNonChecked(double *parameter_block, const std::shared_ptr<ceres::LocalParameterization> &parameterization)
inline bool setParameterBlockConstantIfPartOfTheProblem(double *parameter_block)
inline void setParameterBlockConstant(double *parameter_block)
inline void setParameterBlockVariable(double *parameter_block)
inline bool isParameterBlockConstant(double *parameter_block) const
inline void setParameterBlockBounds(int index_in_param_block, double lower_bound, double upper_bound, double *parameter_block)
inline void deactivateCostFunction(ceres::CostFunction *cost_function)

Public Members

ResidualInformationMap residual_blocks
std::unordered_set<double*> active_parameter_blocks
std::unordered_set<double*> constant_parameter_blocks
ParameterBoundMap parameter_bounds
ParameterizationsMap parameterizations
struct ParameterBoundInformation

Public Members

int index_in_param_block
double lower_bound
double upper_bound