Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.
More...
#include <proxy_cache.hpp>
|
void | set_transition_matrix (const CmaRead::FlowMap::FlowMap_const_view_t &flows_view) |
| Set the transition matrix using a constant flow map view.
|
|
void | set_transition_matrix (FlowMatrixType &&matrix) |
| Set the transition matrix using an rvalue reference to FlowMatrixType.
|
|
void | set_cumulative_probability (const CmaRead::Neighbors::Neighbors_const_view_t &neighbors) |
| Set the cumulative probability using a constant neighbors view.
|
|
void | set_diag_transition (std::vector< double > &&diag) |
| Set the diagonal elements of the transition matrix.
|
|
Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.
◆ set_cumulative_probability()
void CmaUtils::ProxyPreCalculatedHydroState::set_cumulative_probability |
( |
const CmaRead::Neighbors::Neighbors_const_view_t & | neighbors | ) |
|
Set the cumulative probability using a constant neighbors view.
- Parameters
-
neighbors | Constant view of Neighbors from CmaRead. |
◆ set_diag_transition()
void CmaUtils::ProxyPreCalculatedHydroState::set_diag_transition |
( |
std::vector< double > && | diag | ) |
|
Set the diagonal elements of the transition matrix.
- Parameters
-
diag | Rvalue reference to a vector of double containing diagonal elements. |
◆ set_transition_matrix() [1/2]
void CmaUtils::ProxyPreCalculatedHydroState::set_transition_matrix |
( |
const CmaRead::FlowMap::FlowMap_const_view_t & | flows_view | ) |
|
Set the transition matrix using a constant flow map view.
- Parameters
-
flows_view | Constant view of FlowMap from CmaRead. |
◆ set_transition_matrix() [2/2]
void CmaUtils::ProxyPreCalculatedHydroState::set_transition_matrix |
( |
FlowMatrixType && | matrix | ) |
|
Set the transition matrix using an rvalue reference to FlowMatrixType.
- Parameters
-
matrix | Rvalue reference to a FlowMatrixType. |
◆ state
The documentation for this class was generated from the following files:
- apps/libs/cma_utils/transitionner/transitionner/proxy_cache.hpp
- apps/libs/cma_utils/transitionner/proxy_cache.cpp