Home
last modified time | relevance | path

Searched refs:CostFunction (Results 1 – 25 of 57) sorted by relevance

123

/external/ceres-solver/internal/ceres/
Dproblem_impl.h54 class CostFunction; variable
75 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
78 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
81 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
84 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
87 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
91 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
95 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
99 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
104 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
[all …]
Dnumeric_diff_cost_function_test.cc49 internal::scoped_ptr<CostFunction> cost_function; in TEST()
62 internal::scoped_ptr<CostFunction> cost_function; in TEST()
75 internal::scoped_ptr<CostFunction> cost_function; in TEST()
88 internal::scoped_ptr<CostFunction> cost_function; in TEST()
101 internal::scoped_ptr<CostFunction> cost_function; in TEST()
114 internal::scoped_ptr<CostFunction> cost_function; in TEST()
127 internal::scoped_ptr<CostFunction> cost_function; in TEST()
140 internal::scoped_ptr<CostFunction> cost_function; in TEST()
169 scoped_ptr<CostFunction> cost_function; in TEST()
188 internal::scoped_ptr<CostFunction> cost_function; in TEST()
Dproblem.cc46 CostFunction* cost_function, in AddResidualBlock()
55 CostFunction* cost_function, in AddResidualBlock()
64 CostFunction* cost_function, in AddResidualBlock()
73 CostFunction* cost_function, in AddResidualBlock()
82 CostFunction* cost_function, in AddResidualBlock()
91 CostFunction* cost_function, in AddResidualBlock()
100 CostFunction* cost_function, in AddResidualBlock()
109 CostFunction* cost_function, in AddResidualBlock()
119 CostFunction* cost_function, in AddResidualBlock()
129 CostFunction* cost_function, in AddResidualBlock()
[all …]
Dgradient_checking_cost_function.cc80 class GradientCheckingCostFunction : public CostFunction {
82 GradientCheckingCostFunction(const CostFunction* function, in GradientCheckingCostFunction()
89 DynamicNumericDiffCostFunction<CostFunction, CENTRAL>* in GradientCheckingCostFunction()
91 new DynamicNumericDiffCostFunction<CostFunction, CENTRAL>( in GradientCheckingCostFunction()
220 const CostFunction* function_;
221 internal::scoped_ptr<CostFunction> finite_diff_cost_function_;
228 CostFunction *CreateGradientCheckingCostFunction( in CreateGradientCheckingCostFunction()
229 const CostFunction *cost_function, in CreateGradientCheckingCostFunction()
297 CostFunction* gradient_checking_cost_function = in CreateGradientCheckingProblemImpl()
Dproblem_test.cc57 class UnaryCostFunction : public CostFunction {
76 class BinaryCostFunction: public CostFunction {
97 class TernaryCostFunction: public CostFunction {
334 CostFunction* cost = new DestructorCountingCostFunction(&num_destructions); in TEST()
353 CostFunction* cost_yz = in TEST()
355 CostFunction* cost_wz = in TEST()
635 CostFunction* cost_yzw = new TernaryCostFunction(1, 4, 5, 3); in TEST_P()
636 CostFunction* cost_yz = new BinaryCostFunction (1, 4, 5); in TEST_P()
637 CostFunction* cost_yw = new BinaryCostFunction (1, 4, 3); in TEST_P()
638 CostFunction* cost_zw = new BinaryCostFunction (1, 5, 3); in TEST_P()
[all …]
Dnumeric_diff_functor_test.cc52 internal::scoped_ptr<CostFunction> cost_function; in TEST()
71 internal::scoped_ptr<CostFunction> cost_function; in TEST()
90 internal::scoped_ptr<CostFunction> cost_function; in TEST()
109 internal::scoped_ptr<CostFunction> cost_function; in TEST()
Dresidual_block.h72 ResidualBlock(const CostFunction* cost_function,
106 const CostFunction* cost_function() const { return cost_function_; } in cost_function()
135 const CostFunction* cost_function_;
Dgradient_checking_cost_function_test.cc68 class TestTerm : public CostFunction {
164 scoped_ptr<CostFunction> gradient_checking_cost_function( in TEST()
220 scoped_ptr<CostFunction> gradient_checking_cost_function( in TEST()
241 scoped_ptr<CostFunction> gradient_checking_cost_function( in TEST()
265 class UnaryCostFunction : public CostFunction {
284 class BinaryCostFunction: public CostFunction {
305 class TernaryCostFunction: public CostFunction {
Dgradient_checking_cost_function.h60 CostFunction* CreateGradientCheckingCostFunction(
61 const CostFunction* cost_function,
Dproblem_impl.cc185 const_cast<CostFunction*>(residual_block->cost_function())); in DeleteBlock()
239 CostFunction* cost_function, in AddResidualBlock()
319 CostFunction* cost_function, in AddResidualBlock()
328 CostFunction* cost_function, in AddResidualBlock()
338 CostFunction* cost_function, in AddResidualBlock()
349 CostFunction* cost_function, in AddResidualBlock()
361 CostFunction* cost_function, in AddResidualBlock()
374 CostFunction* cost_function, in AddResidualBlock()
388 CostFunction* cost_function, in AddResidualBlock()
404 CostFunction* cost_function, in AddResidualBlock()
[all …]
Dnumeric_diff_test_utils.h48 const CostFunction& cost_function,
73 const CostFunction& cost_function,
Dconditioned_cost_function.cc47 CostFunction* wrapped_cost_function, in ConditionedCostFunction()
48 const vector<CostFunction*>& conditioners, in ConditionedCostFunction()
Dconditioned_cost_function_test.cc47 class LinearCostFunction : public CostFunction {
90 vector<CostFunction*> conditioners; in TEST()
Dautodiff_cost_function_test.cc55 CostFunction* cost_function = in TEST()
112 CostFunction* cost_function = in TEST()
/external/ceres-solver/include/ceres/
Dproblem.h52 class CostFunction; variable
214 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
221 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
224 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
227 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
230 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
234 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
238 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
242 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
247 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
[all …]
Dconditioned_cost_function.h74 class CERES_EXPORT ConditionedCostFunction : public CostFunction {
80 ConditionedCostFunction(CostFunction* wrapped_cost_function,
81 const vector<CostFunction*>& conditioners,
90 internal::scoped_ptr<CostFunction> wrapped_cost_function_;
91 vector<CostFunction*> conditioners_;
Dcost_function.h64 class CERES_EXPORT CostFunction {
66 CostFunction() : num_residuals_(0) {} in CostFunction() function
68 virtual ~CostFunction() {} in ~CostFunction()
141 CERES_DISALLOW_COPY_AND_ASSIGN(CostFunction);
/external/ceres-solver/examples/
Dhelloworld_numeric_diff.cc39 using ceres::CostFunction;
65 CostFunction* cost_function = in main()
Dhelloworld.cc40 using ceres::CostFunction;
69 CostFunction* cost_function = in main()
Dhelloworld_analytic_diff.cc39 using ceres::CostFunction;
93 CostFunction* cost_function = new QuadraticCostFunction; in main()
Dfields_of_experts.h62 class FieldsOfExpertsCost : public ceres::CostFunction {
116 ceres::CostFunction* NewCostFunction(int alpha_index) const;
Drobust_curve_fitting.cc117 using ceres::CostFunction;
147 CostFunction* cost_function = in main()
Dellipse_approximation.cc272 class PointToLineSegmentContourCostFunction : public ceres::CostFunction {
325 static ceres::CostFunction* Create(const int num_segments, in Create()
350 static ceres::CostFunction* Create(const double& sqrt_weight) { in Create()
Dcircle_fit.cc62 using ceres::CostFunction;
140 CostFunction *cost = in main()
/external/ceres-solver/docs/source/
Dmodeling.rst32 :class:`CostFunction` that depends on the **parameter blocks**
57 :class:`CostFunction`
60 For each term in the objective function, a :class:`CostFunction` is
70 .. class:: CostFunction
74 class CostFunction {
88 The signature of the :class:`CostFunction` (number and sizes of input
90 :member:`CostFunction::parameter_block_sizes_` and
91 :member:`CostFunction::num_residuals_` respectively. User code
96 .. function:: bool CostFunction::Evaluate(double const* const* parameters, double* residuals, doubl…
102 elements as :member:`CostFunction::parameter_block_sizes_` and the
[all …]

123