Home
last modified time | relevance | path

Searched refs:MockCostFunctionBase (Results 1 – 2 of 2) sorted by relevance

/external/ceres-solver/internal/ceres/
Dprogram_test.cc61 class MockCostFunctionBase : public class
74 class UnaryCostFunction : public MockCostFunctionBase<2, 1, 0, 0> {};
75 class BinaryCostFunction : public MockCostFunctionBase<2, 1, 1, 0> {};
76 class TernaryCostFunction : public MockCostFunctionBase<2, 1, 1, 1> {};
261 problem.AddResidualBlock(new MockCostFunctionBase<2, 2, 0, 0>(), NULL, x); in TEST()
262 problem.AddResidualBlock(new MockCostFunctionBase<3, 1, 2, 0>(), NULL, &z, x); in TEST()
263 problem.AddResidualBlock(new MockCostFunctionBase<4, 1, 3, 0>(), NULL, &z, y); in TEST()
264 problem.AddResidualBlock(new MockCostFunctionBase<5, 1, 3, 0>(), NULL, &z, y); in TEST()
265 problem.AddResidualBlock(new MockCostFunctionBase<1, 2, 1, 0>(), NULL, x, &z); in TEST()
266 problem.AddResidualBlock(new MockCostFunctionBase<2, 1, 3, 0>(), NULL, &z, y); in TEST()
[all …]
Dreorder_program_test.cc46 class MockCostFunctionBase : public class
57 class UnaryCostFunction : public MockCostFunctionBase<2, 1, 0, 0> {};
58 class BinaryCostFunction : public MockCostFunctionBase<2, 1, 1, 0> {};
59 class TernaryCostFunction : public MockCostFunctionBase<2, 1, 1, 1> {};