OpenSim Moco  0.4.0
Public Member Functions | List of all members
OpenSim::MocoWeight Class Reference

Description

This class contains a single property that holds a weighting factor to be used in a MocoGoal.

The meaning of the name given to this object depends on where the weight is used. In a MocoStateTrackingCost, the name is the name (path) of a state variable.

Inheritance diagram for OpenSim::MocoWeight:

#include <Moco/Moco/MocoWeightSet.h>

Public Member Functions

 MocoWeight (const std::string &name, double weight)
 
void setWeight (double weight)
 
double getWeight () const
 

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