|
Autoware.Auto
|
|
#include <utils.hpp>
Public Member Functions | |
| ComputeMode ()=default | |
| Constructor. More... | |
| ComputeMode (bool8_t score, bool8_t jacobian, bool8_t hessian) | |
| ComputeMode & | set_score () noexcept |
| ComputeMode & | set_jacobian () noexcept |
| ComputeMode & | set_hessian () noexcept |
| bool8_t | score () const noexcept |
| bool8_t | jacobian () const noexcept |
| bool8_t | hessian () const noexcept |
| bool8_t | operator== (const ComputeMode &other) const noexcept |
| bool8_t | operator!= (const ComputeMode &other) const noexcept |
Configuration class to sepcify which terms should get computed during the evaluation of an expression. By default all terms default to false. Terms to be computed should be enabled/set by either the constructor or the setter methods.
|
default |
Constructor.
| autoware::common::optimization::ComputeMode::ComputeMode | ( | bool8_t | score, |
| bool8_t | jacobian, | ||
| bool8_t | hessian | ||
| ) |
Constructor with initial values.
| score | True if score is to be computed. |
| jacobian | True if jacobian is to be computed. |
| hessian | True if hessian is to be computed. |
|
noexcept |
Get if hessian term is enabled.
|
noexcept |
Get if jacobian term is enabled.
|
noexcept |
|
noexcept |
|
noexcept |
Get if score term is enabled.
|
noexcept |
Set hessian to true, return the new state for method chaining.
|
noexcept |
Set jacobian to true, return the new state for method chaining.
|
noexcept |
Set score to true, return the new state for method chaining.