Browse Source

Added utility header for all parts that use std::swap.

Former-commit-id: 55a2f56440
tempestpy_adaptions
dehnert 11 years ago
parent
commit
42708a6d21
  1. 1
      src/adapters/GmmxxAdapter.h
  2. 1
      src/modelchecker/csl/SparseMarkovAutomatonCslModelChecker.h
  3. 3
      src/solver/GmmxxLinearEquationSolver.cpp
  4. 3
      src/solver/GmmxxNondeterministicLinearEquationSolver.cpp
  5. 3
      src/solver/NativeLinearEquationSolver.cpp
  6. 3
      src/solver/NativeNondeterministicLinearEquationSolver.cpp
  7. 2
      src/storage/SparseMatrix.h
  8. 1
      src/utility/counterexamples.h

1
src/adapters/GmmxxAdapter.h

@ -9,6 +9,7 @@
#define STORM_ADAPTERS_GMMXXADAPTER_H_
#include <new>
#include <utility>
#include "gmm/gmm_matrix.h"

1
src/modelchecker/csl/SparseMarkovAutomatonCslModelChecker.h

@ -2,6 +2,7 @@
#define STORM_MODELCHECKER_CSL_SPARSEMARKOVAUTOMATONCSLMODELCHECKER_H_
#include <stack>
#include <utility>
#include "src/modelchecker/csl/AbstractModelChecker.h"
#include "src/modelchecker/prctl/SparseMdpPrctlModelChecker.h"

3
src/solver/GmmxxLinearEquationSolver.cpp

@ -1,8 +1,7 @@
#include "GmmxxLinearEquationSolver.h"
#include <vector>
#include <string>
#include <cmath>
#include <utility>
#include "src/adapters/GmmxxAdapter.h"
#include "src/settings/Settings.h"

3
src/solver/GmmxxNondeterministicLinearEquationSolver.cpp

@ -1,4 +1,7 @@
#include "src/solver/GmmxxNondeterministicLinearEquationSolver.h"
#include <utility>
#include "src/settings/Settings.h"
#include "src/adapters/GmmxxAdapter.h"
#include "src/utility/vector.h"

3
src/solver/NativeLinearEquationSolver.cpp

@ -1,4 +1,7 @@
#include "src/solver/NativeLinearEquationSolver.h"
#include <utility>
#include "src/settings/Settings.h"
#include "src/utility/vector.h"
#include "src/exceptions/InvalidStateException.h"

3
src/solver/NativeNondeterministicLinearEquationSolver.cpp

@ -1,4 +1,7 @@
#include "src/solver/NativeNondeterministicLinearEquationSolver.h"
#include <utility>
#include "src/settings/Settings.h"
#include "src/utility/vector.h"

2
src/storage/SparseMatrix.h

@ -144,7 +144,7 @@ namespace storm {
friend class storm::adapters::StormAdapter;
typedef typename std::vector<std::pair<uint_fast64_t, T>>::iterator iterator;
typedef typename std::vector<std::pair<uint_fast64_t, T> const>::const_iterator const_iterator;
typedef typename std::vector<std::pair<uint_fast64_t, T>>::const_iterator const_iterator;
/*!
* This class represents a number of consecutive rows of the matrix.

1
src/utility/counterexamples.h

@ -9,6 +9,7 @@
#define STORM_UTILITY_COUNTEREXAMPLE_H_
#include <queue>
#include <utility>
namespace storm {
namespace utility {

Loading…
Cancel
Save