Browse Source

Fixed one of the methods in utility.cpp to adapt to the new notations.

tempestpy_adaptions
dehnert 12 years ago
parent
commit
188c06d651
  1. 7
      src/utility/utility.cpp

7
src/utility/utility.cpp

@ -11,6 +11,7 @@
#include "src/sparse/static_sparse_matrix.h"
#include "src/models/dtmc.h"
#include "src/models/atomic_propositions_labeling.h"
namespace mrmc {
@ -77,16 +78,16 @@ void dtmcToDot(mrmc::models::Dtmc<double>* dtmc, const char* filename) {
}
mrmc::models::Dtmc<double>* parseDTMC(const char* tra_file, const char* lab_file) {
/* mrmc::sparse::StaticSparseMatrix<double>* transition_matrix =
mrmc::sparse::StaticSparseMatrix<double>* transition_matrix =
mrmc::parser::read_tra_file(tra_file);
uint_fast64_t node_count = transition_matrix->getRowCount();
mrmc::dtmc::Labeling* labeling =
mrmc::models::AtomicPropositionsLabeling* labeling =
mrmc::parser::read_lab_file(node_count, lab_file);
mrmc::models::Dtmc<double>* result =
new mrmc::models::Dtmc<double>(transition_matrix, labeling);
return result; */
return result;
}
}

Loading…
Cancel
Save