Lines Matching refs:MockCostFunctionBase
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()
267 problem.AddResidualBlock(new MockCostFunctionBase<2, 2, 1, 0>(), NULL, x, &z); in TEST()
268 problem.AddResidualBlock(new MockCostFunctionBase<1, 3, 0, 0>(), NULL, y); in TEST()
400 problem.AddResidualBlock(new MockCostFunctionBase<1, 2, 0, 0>(), NULL, x); in TEST()
410 problem.AddResidualBlock(new MockCostFunctionBase<1, 2, 0, 0>(), NULL, x); in TEST()
421 problem.AddResidualBlock(new MockCostFunctionBase<1, 2, 0, 0>(), NULL, x); in TEST()