![]() |
Ultra 0.9.4
|
#include <decision_vector.h>
Classes | |
| struct | coordinate |
| Metadata describing one optimisable parameter. More... | |
Public Member Functions | |
| decision_vector (std::vector< double > vs, std::vector< coordinate > cs) | |
| bool | empty () const noexcept |
| std::size_t | size () const noexcept |
| bool | is_valid () const noexcept |
Public Attributes | |
| std::vector< double > | values {} |
| std::vector< coordinate > | coords {} |
A flat optimiser-facing view of tunable scalar parameters.
A decision_vector<Coord> separates two concerns:
The template parameter Coord is domain-specific. It identifies where a parameter comes from and where an updated value must be written back.