Browse Source

changed to new parser names

tempestpy_adaptions
gereon 12 years ago
parent
commit
ee4f2bd9a2
  1. 8
      src/mrmc.cpp

8
src/mrmc.cpp

@ -20,8 +20,8 @@
#include "src/models/Dtmc.h" #include "src/models/Dtmc.h"
#include "src/storage/SquareSparseMatrix.h" #include "src/storage/SquareSparseMatrix.h"
#include "src/models/AtomicPropositionsLabeling.h" #include "src/models/AtomicPropositionsLabeling.h"
#include "src/parser/read_lab_file.h"
#include "src/parser/read_tra_file.h"
#include "src/parser/readLabFile.h"
#include "src/parser/readTraFile.h"
#include "src/utility/settings.h" #include "src/utility/settings.h"
#include "Eigen/Sparse" #include "Eigen/Sparse"
@ -83,8 +83,8 @@ int main(const int argc, const char* argv[]) {
return 0; return 0;
} }
mrmc::storage::SquareSparseMatrix<double>* probMatrix = mrmc::parser::read_tra_file(s->getString("trafile").c_str());
mrmc::models::AtomicPropositionsLabeling* labeling = mrmc::parser::read_lab_file(probMatrix->getRowCount(), s->getString("labfile").c_str());
mrmc::storage::SquareSparseMatrix<double>* probMatrix = mrmc::parser::readTraFile(s->getString("trafile").c_str());
mrmc::models::AtomicPropositionsLabeling* labeling = mrmc::parser::readLabFile(probMatrix->getRowCount(), s->getString("labfile").c_str());
mrmc::models::Dtmc<double> dtmc(probMatrix, labeling); mrmc::models::Dtmc<double> dtmc(probMatrix, labeling);
dtmc.printModelInformationToStream(std::cout); dtmc.printModelInformationToStream(std::cout);

Loading…
Cancel
Save