MCPcopy Create free account
hub / github.com/Simple-Robotics/aligator / evaluate

Method evaluate

tests/python/example_problem.py:83–85  ·  view source on GitHub ↗
(self, x, u, data)

Source from the content-addressed store, hash-verified

81 return dict()
82
83 def evaluate(self, x, u, data):
84 assert isinstance(data, MyCostData)
85 data.value = _call(space, self.x_ref, x, self.W)
86
87 def computeGradients(self, x, u, data):
88 assert isinstance(data, MyCostData)

Callers 15

test_cost_stackFunction · 0.45
test_composite_costFunction · 0.45
test_log_barrierFunction · 0.45
test_quad_stateFunction · 0.45
test_direct_sumFunction · 0.45
test_implicit_integratorFunction · 0.45
cost_finite_gradFunction · 0.45
test_com_translationFunction · 0.45
test_frame_velocityFunction · 0.45
test_dcm_positionFunction · 0.45

Calls 1

_callFunction · 0.85

Tested by 15

test_cost_stackFunction · 0.36
test_composite_costFunction · 0.36
test_log_barrierFunction · 0.36
test_quad_stateFunction · 0.36
test_direct_sumFunction · 0.36
test_implicit_integratorFunction · 0.36
test_com_translationFunction · 0.36
test_frame_velocityFunction · 0.36
test_dcm_positionFunction · 0.36
test_manifold_diffFunction · 0.36
test_slicingFunction · 0.36