Public Member Functions | Private Member Functions | Private Attributes
towr::NodeCost Class Reference

Assigns a cost to node values. More...

#include <node_cost.h>

List of all members.

Public Member Functions

double GetCost () const override
virtual void InitVariableDependedQuantities (const VariablesPtr &x) override
 NodeCost (const std::string &nodes_id, Dx deriv, int dim)
 Constructs a cost term for the optimization problem.
virtual ~NodeCost ()

Private Member Functions

void FillJacobianBlock (std::string var_set, Jacobian &) const override

Private Attributes

Dx deriv_
int dim_
std::string node_id_
std::shared_ptr< Nodesnodes_

Detailed Description

Assigns a cost to node values.

Definition at line 46 of file node_cost.h.


Constructor & Destructor Documentation

towr::NodeCost::NodeCost ( const std::string &  nodes_id,
Dx  deriv,
int  dim 
)

Constructs a cost term for the optimization problem.

Parameters:
nodes_idThe name of the node variables.
derivThe node derivative (pos, vel) which should be penalized.
dimThe node dimension which should be penalized.

Definition at line 36 of file node_cost.cc.

virtual towr::NodeCost::~NodeCost ( ) [virtual]

Member Function Documentation

void towr::NodeCost::FillJacobianBlock ( std::string  var_set,
Jacobian &  jac 
) const [override, private]

Definition at line 63 of file node_cost.cc.

double towr::NodeCost::GetCost ( ) const [override]

Definition at line 51 of file node_cost.cc.

void towr::NodeCost::InitVariableDependedQuantities ( const VariablesPtr &  x) [override, virtual]

Definition at line 45 of file node_cost.cc.


Member Data Documentation

Definition at line 66 of file node_cost.h.

int towr::NodeCost::dim_ [private]

Definition at line 67 of file node_cost.h.

std::string towr::NodeCost::node_id_ [private]

Definition at line 65 of file node_cost.h.

std::shared_ptr<Nodes> towr::NodeCost::nodes_ [private]

Definition at line 63 of file node_cost.h.


The documentation for this class was generated from the following files:


towr_core
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 9 2018 03:12:44