Assigns a cost to node values.
More...
#include <node_cost.h>
Assigns a cost to node values.
Definition at line 46 of file node_cost.h.
towr::NodeCost::NodeCost |
( |
const std::string & |
nodes_id, |
|
|
Dx |
deriv, |
|
|
int |
dim |
|
) |
| |
Constructs a cost term for the optimization problem.
- Parameters
-
nodes_id | The name of the node variables. |
deriv | The node derivative (pos, vel) which should be penalized. |
dim | The node dimension which should be penalized. |
Definition at line 36 of file node_cost.cc.
virtual towr::NodeCost::~NodeCost |
( |
| ) |
|
|
virtualdefault |
void towr::NodeCost::FillJacobianBlock |
( |
std::string |
var_set, |
|
|
Jacobian & |
jac |
|
) |
| const |
|
overrideprivate |
double towr::NodeCost::GetCost |
( |
| ) |
const |
|
override |
void towr::NodeCost::InitVariableDependedQuantities |
( |
const VariablesPtr & |
x | ) |
|
|
overridevirtual |
Dx towr::NodeCost::deriv_ |
|
private |
std::string towr::NodeCost::node_id_ |
|
private |
std::shared_ptr<Nodes> towr::NodeCost::nodes_ |
|
private |
The documentation for this class was generated from the following files: