Implements the concept of a state (in a finite-state diagram) and markov chains. More...
#include <map>
#include "viennashe/models/markovchain/reaction_rates.hpp"
#include "viennashe/exception.hpp"
#include "viennashe/models/markovchain/exception.hpp"
#include "viennashe/log/log.hpp"
#include "viennashe/math/linalg_util.hpp"
#include "viennashe/solvers/forwards.h"
Go to the source code of this file.
Classes | |
class | viennashe::models::state_base |
The basic concept of a state in Markov-Chains. More... | |
class | viennashe::models::chain |
Implementation of Markov-Chains. More... | |
Namespaces | |
namespace | viennashe |
The main ViennaSHE namespace. All functionality resides inside this namespace. | |
namespace | viennashe::models |
Namespace containing everything models related. | |
Functions | |
void | viennashe::models::set_chain_to_equilibrium_expectation (chain &c) |
Solves the time averaged set of equilibrium (dt->infty) equations for the given Markov-Chain and sets the respective occupancies The occupancies f_i will be values between zero and one, where sum_i f_i = 1. More... | |
void | viennashe::models::solve_for_expectation_occupancies (chain &c, double dt) |
Solves the time averaged set of equations (including time derivatives) for the occupancies f_i in a given Markov-Chain and sets the resp. occupancies. The occupancies f_i will be values between zero and one, where sum_i f_i = 1. In order to solve the time dependent equations the backward-euler method is used. More... | |
Implements the concept of a state (in a finite-state diagram) and markov chains.
Definition in file chain.hpp.