33 changed files with 209 additions and 205 deletions
-
33src/exceptions/FileIoException.h
-
18src/exceptions/InvalidArgumentException.h
-
18src/exceptions/InvalidStateException.h
-
18src/exceptions/OutOfRangeException.h
-
35src/exceptions/WrongFileFormatException.h
-
33src/exceptions/file_IO_exception.h
-
35src/exceptions/wrong_file_format.h
-
2src/formula/ProbabilisticIntervalOperator.h
-
4src/modelChecker/EigenDtmcPrctlModelChecker.h
-
4src/modelChecker/GmmxxDtmcPrctlModelChecker.h
-
13src/models/AtomicPropositionsLabeling.h
-
4src/mrmc.cpp
-
22src/parser/parser.cpp
-
6src/parser/parser.h
-
8src/parser/readLabFile.cpp
-
8src/parser/readTraFile.cpp
-
10src/solver/GraphAnalyzer.h
-
14src/storage/BitVector.h
-
38src/storage/SquareSparseMatrix.h
-
8src/utility/ConstTemplates.h
-
4src/utility/IoUtility.cpp
-
8src/utility/IoUtility.h
-
0src/utility/OsDetection.h
-
4src/utility/Settings.cpp
-
8src/utility/Settings.h
-
8src/utility/Vector.h
-
2test/eigen/sparse_matrix_test.cpp
-
2test/parser/parse_dtmc_test.cpp
-
12test/parser/read_lab_file_test.cpp
-
14test/parser/read_tra_file_test.cpp
-
2test/reward/reward_model_test.cpp
-
2test/storage/BitVectorTest.cpp
-
17test/storage/SquareSparseMatrixTest.cpp
@ -0,0 +1,33 @@ |
|||||
|
/* |
||||
|
* FileIoException.h |
||||
|
* |
||||
|
* Created on: 16.08.2012 |
||||
|
* Author: Thomas Heinemann |
||||
|
*/ |
||||
|
|
||||
|
#ifndef MRMC_EXCEPTIONS_FILEIOEXCEPTION_H_ |
||||
|
#define MRMC_EXCEPTIONS_FILEIOEXCEPTION_H_ |
||||
|
|
||||
|
namespace mrmc { |
||||
|
|
||||
|
namespace exceptions { |
||||
|
|
||||
|
class FileIoException : public std::exception { |
||||
|
public: |
||||
|
#ifdef _WIN32 |
||||
|
FileIoException() : exception("::mrmc::FileIoException"){}; |
||||
|
FileIoException(const char * const s): exception(s) {}; |
||||
|
#else |
||||
|
FileIoException() {}; |
||||
|
FileIoException(const char * const s): exception() {}; |
||||
|
#endif |
||||
|
virtual const char* what() const throw(){ |
||||
|
{ return "mrmc::FileIoException"; } |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
#endif /* MRMC_EXCEPTIONS_FILEIOEXCEPTION_H_ */ |
@ -0,0 +1,35 @@ |
|||||
|
/* |
||||
|
* WrongFileFormatException.h |
||||
|
* |
||||
|
* Created on: 16.08.2012 |
||||
|
* Author: Thomas Heinemann |
||||
|
*/ |
||||
|
|
||||
|
#ifndef MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_ |
||||
|
#define MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_ |
||||
|
|
||||
|
#include <exception> |
||||
|
|
||||
|
namespace mrmc { |
||||
|
|
||||
|
namespace exceptions { |
||||
|
|
||||
|
class WrongFileFormatException : public std::exception { |
||||
|
public: |
||||
|
#ifdef _WIN32 |
||||
|
WrongFileFormatException() : exception("::mrmc::WrongFileFormatException"){}; |
||||
|
WrongFileFormatException(const char * const s): exception(s) {}; |
||||
|
#else |
||||
|
WrongFileFormatException() {}; |
||||
|
WrongFileFormatException(const char * const s): exception() {}; |
||||
|
#endif |
||||
|
virtual const char* what() const throw(){ |
||||
|
{ return "mrmc::WrongFileFormatException"; } |
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
} //namespace exceptions |
||||
|
|
||||
|
} //namespace mrmc |
||||
|
|
||||
|
#endif /* MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_ */ |
@ -1,33 +0,0 @@ |
|||||
/* |
|
||||
* file_IO_exception.h |
|
||||
* |
|
||||
* Created on: 16.08.2012 |
|
||||
* Author: Thomas Heinemann |
|
||||
*/ |
|
||||
|
|
||||
#ifndef MRMC_EXCEPTIONS_FILE_IO_EXCEPTION_H_ |
|
||||
#define MRMC_EXCEPTIONS_FILE_IO_EXCEPTION_H_ |
|
||||
|
|
||||
namespace mrmc { |
|
||||
|
|
||||
namespace exceptions { |
|
||||
|
|
||||
class file_IO_exception : public std::exception { |
|
||||
public: |
|
||||
#ifdef _WIN32 |
|
||||
file_IO_exception() : exception("::mrmc::file_IO_exception"){}; |
|
||||
file_IO_exception(const char * const s): exception(s) {}; |
|
||||
#else |
|
||||
file_IO_exception() {}; |
|
||||
file_IO_exception(const char * const s): exception() {}; |
|
||||
#endif |
|
||||
virtual const char* what() const throw(){ |
|
||||
{ return "mrmc::file_IO_exception"; } |
|
||||
} |
|
||||
}; |
|
||||
|
|
||||
} |
|
||||
|
|
||||
} |
|
||||
|
|
||||
#endif /* MRMC_EXCEPTIONS_FILE_IO_EXCEPTION_H_ */ |
|
@ -1,35 +0,0 @@ |
|||||
/* |
|
||||
* wrong_file_format.h |
|
||||
* |
|
||||
* Created on: 16.08.2012 |
|
||||
* Author: Thomas Heinemann |
|
||||
*/ |
|
||||
|
|
||||
#ifndef WRONG_FILE_FORMAT_H_ |
|
||||
#define WRONG_FILE_FORMAT_H_ |
|
||||
|
|
||||
#include <exception> |
|
||||
|
|
||||
namespace mrmc { |
|
||||
|
|
||||
namespace exceptions { |
|
||||
|
|
||||
class wrong_file_format : public std::exception { |
|
||||
public: |
|
||||
#ifdef _WIN32 |
|
||||
wrong_file_format() : exception("::mrmc::wrong_file_format"){}; |
|
||||
wrong_file_format(const char * const s): exception(s) {}; |
|
||||
#else |
|
||||
wrong_file_format() {}; |
|
||||
wrong_file_format(const char * const s): exception() {}; |
|
||||
#endif |
|
||||
virtual const char* what() const throw(){ |
|
||||
{ return "mrmc::wrong_file_format"; } |
|
||||
} |
|
||||
}; |
|
||||
|
|
||||
} //namespace exceptions |
|
||||
|
|
||||
} //namespace mrmc |
|
||||
|
|
||||
#endif /* WRONG_FILE_FORMAT_H_ */ |
|
@ -1,11 +1,11 @@ |
|||||
/*
|
/*
|
||||
* ioUtility.cpp |
|
||||
|
* IoUtility.cpp |
||||
* |
* |
||||
* Created on: 17.10.2012 |
* Created on: 17.10.2012 |
||||
* Author: Thomas Heinemann |
* Author: Thomas Heinemann |
||||
*/ |
*/ |
||||
|
|
||||
#include "src/utility/ioUtility.h"
|
|
||||
|
#include "src/utility/IoUtility.h"
|
||||
#include "src/parser/readTraFile.h"
|
#include "src/parser/readTraFile.h"
|
||||
#include "src/parser/readLabFile.h"
|
#include "src/parser/readLabFile.h"
|
||||
|
|
@ -1,11 +1,11 @@ |
|||||
/*
|
/*
|
||||
* settings.cpp |
|
||||
|
* Settings.cpp |
||||
* |
* |
||||
* Created on: 22.11.2012 |
* Created on: 22.11.2012 |
||||
* Author: Gereon Kremer |
* Author: Gereon Kremer |
||||
*/ |
*/ |
||||
|
|
||||
#include "src/utility/settings.h"
|
|
||||
|
#include "src/utility/Settings.h"
|
||||
|
|
||||
#include "src/exceptions/BaseException.h"
|
#include "src/exceptions/BaseException.h"
|
||||
|
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue