From f44f0ce4108c76c34a3cdafbb54d156b711da2db Mon Sep 17 00:00:00 2001 From: dehnert Date: Wed, 5 Jun 2013 13:13:45 +0200 Subject: [PATCH] Cleaned interfaces of models from std::shared_ptr. Improved some code in graph utility. --- src/modelchecker/prctl/AbstractModelChecker.h | 30 ++- .../prctl/SparseDtmcPrctlModelChecker.h | 233 ++++++++++-------- .../prctl/SparseMdpPrctlModelChecker.h | 36 +-- src/models/AbstractModel.h | 22 +- src/models/AbstractNondeterministicModel.h | 4 +- src/models/Ctmdp.h | 4 +- src/models/Dtmc.h | 10 +- src/models/Mdp.h | 4 +- src/storage/BitVector.h | 27 +- src/storage/SparseMatrix.h | 2 +- src/utility/graph.h | 158 ++++++------ test/functional/parser/ParseMdpTest.cpp | 6 +- 12 files changed, 291 insertions(+), 245 deletions(-) diff --git a/src/modelchecker/prctl/AbstractModelChecker.h b/src/modelchecker/prctl/AbstractModelChecker.h index 2ac3fd241..b3ae46bd2 100644 --- a/src/modelchecker/prctl/AbstractModelChecker.h +++ b/src/modelchecker/prctl/AbstractModelChecker.h @@ -86,7 +86,8 @@ public: /*! * Returns a pointer to the model checker object that is of the requested type as given by the template parameters. - * @returns A pointer to the model checker object that is of the requested type as given by the template parameters. + * + * @return A pointer to the model checker object that is of the requested type as given by the template parameters. * If the model checker is not of the requested type, type casting will fail and result in an exception. */ template