|
@ -21,7 +21,6 @@ namespace models { |
|
|
class Dtmc { |
|
|
class Dtmc { |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
|
|
|
|
|
|
//! Constructor |
|
|
//! Constructor |
|
|
/*! |
|
|
/*! |
|
|
\param probability_matrix The transition probability function of the DTMC given by a matrix. |
|
|
\param probability_matrix The transition probability function of the DTMC given by a matrix. |
|
@ -36,13 +35,12 @@ public: |
|
|
//! Copy Constructor |
|
|
//! Copy Constructor |
|
|
/*! |
|
|
/*! |
|
|
Copy Constructor. Creates an exact copy of the source DTMC. Modification of either DTMC does not affect the other. |
|
|
Copy Constructor. Creates an exact copy of the source DTMC. Modification of either DTMC does not affect the other. |
|
|
@param dtmc A reference to the matrix that should be copied from |
|
|
|
|
|
|
|
|
@param dtmc A reference to the DTMC that is to be copied. |
|
|
*/ |
|
|
*/ |
|
|
Dtmc(const Dtmc &dtmc) : probability_matrix(dtmc.probability_matrix), state_labeling(dtmc.state_labeling) { |
|
|
Dtmc(const Dtmc &dtmc) : probability_matrix(dtmc.probability_matrix), state_labeling(dtmc.state_labeling) { |
|
|
// intentionally left empty |
|
|
// intentionally left empty |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
|
|
|
|
|
|
mrmc::sparse::StaticSparseMatrix* probability_matrix; |
|
|
mrmc::sparse::StaticSparseMatrix* probability_matrix; |
|
|