#include <tvm/LinearizedControlProblem.h>
|
| | LinearizedControlProblem () |
| |
| | LinearizedControlProblem (const ControlProblem &pb) |
| |
| TaskWithRequirementsPtr | add (const Task &task, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::ProtoTask< T > proto, const task_dynamics::abstract::TaskDynamics &td, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::LinearProtoTask< T > proto, const task_dynamics::abstract::TaskDynamics &td, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::LinearProtoTask< T > proto, const requirements::SolvingRequirements &req={}) |
| |
| void | add (TaskWithRequirementsPtr tr) |
| |
| void | remove (const TaskWithRequirements &tr) |
| |
| void | add (const hint::Substitution &s) |
| |
| void | remove (const hint::Substitution &s) |
| |
| const hint::internal::Substitutions & | substitutions () const |
| |
| void | removeSubstitutionFor (const constraint::abstract::LinearConstraint &cstr) |
| |
| VariableVector | variables () const |
| |
| std::vector< LinearConstraintWithRequirements > | constraints () const |
| |
| LinearConstraintPtr | constraint (const TaskWithRequirements &t) const |
| |
| LinearConstraintPtr | constraintNoThrow (const TaskWithRequirements &t) const |
| |
| const LinearConstraintWithRequirements & | constraintWithRequirements (const TaskWithRequirements &t) const |
| |
| std::optional< std::reference_wrapper< const LinearConstraintWithRequirements > > | constraintWithRequirementsNoThrow (const TaskWithRequirements &t) const |
| |
| const tvm::utils::internal::map< TaskWithRequirements const *, LinearConstraintWithRequirements > & | constraintMap () const |
| |
| | ControlProblem ()=default |
| |
| | ControlProblem (const ControlProblem &)=delete |
| |
| ControlProblem & | operator= (const ControlProblem &)=delete |
| |
| TaskWithRequirementsPtr | add (const Task &task, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::ProtoTask< T > proto, const task_dynamics::abstract::TaskDynamics &td, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::LinearProtoTask< T > proto, const task_dynamics::abstract::TaskDynamics &td, const requirements::SolvingRequirements &req={}) |
| |
| template<constraint::Type T> |
| TaskWithRequirementsPtr | add (utils::LinearProtoTask< T > proto, const requirements::SolvingRequirements &req={}) |
| |
| void | add (TaskWithRequirementsPtr tr) |
| |
| void | remove (const TaskWithRequirements &tr) |
| |
| const std::vector< TaskWithRequirementsPtr > & | tasks () const |
| |
| int | size () const |
| |
| void | update () |
| |
| void | finalize () |
| |
| const graph::CallGraph & | updateGraph () const |
| |
◆ LinearizedControlProblem() [1/2]
| tvm::LinearizedControlProblem::LinearizedControlProblem |
( |
| ) |
|
◆ LinearizedControlProblem() [2/2]
| tvm::LinearizedControlProblem::LinearizedControlProblem |
( |
const ControlProblem & |
pb | ) |
|
◆ add() [1/6]
◆ add() [2/6]
◆ add() [3/6]
◆ add() [4/6]
template<constraint::Type T>
◆ add() [5/6]
template<constraint::Type T>
◆ add() [6/6]
template<constraint::Type T>
◆ constraint()
Access to the linear constraint corresponding to the task t
- Parameters
-
◆ constraintMap()
Return the map task -> constraint
◆ constraintNoThrow()
Access to the linear constraint corresponding to the task t
- Parameters
-
- Returns
- A shared_ptr that can be null if
t is not in the problem.
◆ constraints()
◆ constraintWithRequirements()
Access to the linear constraint and requirements corresponding to the task t
- Parameters
-
◆ constraintWithRequirementsNoThrow()
Access to the linear constraint and requirements corresponding to the task t
- Parameters
-
- Returns
- An std::optional containing a const reference on LinearConstraintWithRequirements if
t is in the problem.
◆ finalize_()
| void tvm::LinearizedControlProblem::finalize_ |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ remove() [1/2]
◆ remove() [2/2]
◆ removeSubstitutionFor()
◆ substitutions()
◆ update_()
| void tvm::LinearizedControlProblem::update_ |
( |
| ) |
|
|
overrideprotectedvirtual |
Compute all quantities necessary for solving the problem.
Reimplemented from tvm::ControlProblem.
◆ variables()
Access to the variables of the problem.
- Note
- These are all the variables irrespective of any substitutions as substitutions are hints for the solver.
-
The result is not cached, i.e. it is recomputed at each call.
The documentation for this class was generated from the following file: