Searched refs:MockCostFunctionBase (Results 1 – 2 of 2) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | program_test.cc | 61 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 …]
|
D | reorder_program_test.cc | 46 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> {};
|