BioCMAMC-ST
CmaUtils::ProxyPreCalculatedHydroState Class Reference

Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library. More...

#include <proxy_cache.hpp>

Collaboration diagram for CmaUtils::ProxyPreCalculatedHydroState:
[legend]

Public Member Functions

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.
 

Public Attributes

PreCalculatedHydroState state
 Instance of PreCalculatedHydroState containing the filled data.
 

Detailed Description

Proxy class for PreCalculatedHydroState used to fill this struct with data from an external library.

Member Function Documentation

◆ 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
neighborsConstant view of Neighbors from CmaRead.
Here is the call graph for this function:

◆ set_diag_transition()

void CmaUtils::ProxyPreCalculatedHydroState::set_diag_transition ( std::vector< double > && diag)

Set the diagonal elements of the transition matrix.

Parameters
diagRvalue reference to a vector of double containing diagonal elements.
Here is the caller graph for this function:

◆ 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_viewConstant view of FlowMap from CmaRead.
Here is the call graph for this function:

◆ set_transition_matrix() [2/2]

void CmaUtils::ProxyPreCalculatedHydroState::set_transition_matrix ( FlowMatrixType && matrix)

Set the transition matrix using an rvalue reference to FlowMatrixType.

Parameters
matrixRvalue reference to a FlowMatrixType.

Member Data Documentation

◆ state

PreCalculatedHydroState CmaUtils::ProxyPreCalculatedHydroState::state

Instance of PreCalculatedHydroState containing the filled data.


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