Browse Source

Added the (default) external build path /build to git ignore.

Added, fixed, refactored Include Guards in ALL Files, should be consistent now.
tempestpy_adaptions
PBerger 12 years ago
parent
commit
96c7dd9a79
  1. 1
      .gitignore
  2. 6
      src/exceptions/WrongFileFormatException.h
  3. 6
      src/formula/AP.h
  4. 6
      src/formula/And.h
  5. 6
      src/formula/BoundedUntil.h
  6. 6
      src/formula/Formulas.h
  7. 6
      src/formula/Next.h
  8. 6
      src/formula/Not.h
  9. 6
      src/formula/Or.h
  10. 6
      src/formula/PCTLPathFormula.h
  11. 6
      src/formula/PCTLStateFormula.h
  12. 6
      src/formula/PCTLformula.h
  13. 6
      src/formula/ProbabilisticIntervalOperator.h
  14. 7
      src/formula/ProbabilisticNoBoundsOperator.h
  15. 7
      src/formula/ProbabilisticOperator.h
  16. 6
      src/formula/Until.h
  17. 6
      src/modelChecker/DtmcPrctlModelChecker.h
  18. 6
      src/modelChecker/EigenDtmcPrctlModelChecker.h
  19. 6
      src/modelChecker/GmmxxDtmcPrctlModelChecker.h
  20. 8
      src/models/AtomicPropositionsLabeling.h
  21. 8
      src/models/Dtmc.h
  22. 8
      src/models/GraphTransitions.h
  23. 6
      src/solver/GraphAnalyzer.h
  24. 6
      src/storage/BitVector.h
  25. 5
      src/utility/OsDetection.h

1
.gitignore

@ -29,6 +29,7 @@ ipch/
obj/ obj/
CMakeFiles/ CMakeFiles/
# The build Dir # The build Dir
build/
build//CMakeLists.txt build//CMakeLists.txt
/*.vcxproj /*.vcxproj
/*.filters /*.filters

6
src/exceptions/WrongFileFormatException.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_
#define MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_
#ifndef MRMC_EXCEPTIONS_WRONGFILEFORMATEXCEPTION_H_
#define MRMC_EXCEPTIONS_WRONGFILEFORMATEXCEPTION_H_
#include <exception> #include <exception>
@ -32,4 +32,4 @@ class WrongFileFormatException : public std::exception {
} //namespace mrmc } //namespace mrmc
#endif /* MRMC_EXCEPTIONS_WRONGFILEFORMAT_H_ */
#endif /* MRMC_EXCEPTIONS_WRONGFILEFORMATEXCEPTION_H_ */

6
src/formula/AP.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef AP_H_
#define AP_H_
#ifndef MRMC_FORMULA_AP_H_
#define MRMC_FORMULA_AP_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -89,4 +89,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* AP_H_ */
#endif /* MRMC_FORMULA_AP_H_ */

6
src/formula/And.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef AND_H_
#define AND_H_
#ifndef MRMC_FORMULA_AND_H_
#define MRMC_FORMULA_AND_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
#include <string> #include <string>
@ -154,4 +154,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* AND_H_ */
#endif /* MRMC_FORMULA_AND_H_ */

6
src/formula/BoundedUntil.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef BOUNDEDUNTIL_H_
#define BOUNDEDUNTIL_H_
#ifndef MRMC_FORMULA_BOUNDEDUNTIL_H_
#define MRMC_FORMULA_BOUNDEDUNTIL_H_
#include "PCTLPathFormula.h" #include "PCTLPathFormula.h"
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -180,4 +180,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* BOUNDEDUNTIL_H_ */
#endif /* MRMC_FORMULA_BOUNDEDUNTIL_H_ */

6
src/formula/Formulas.h

@ -5,8 +5,8 @@
* Author: chris * Author: chris
*/ */
#ifndef FORMULAS_H_
#define FORMULAS_H_
#ifndef MRMC_FORMULA_FORMULAS_H_
#define MRMC_FORMULA_FORMULAS_H_
#include "And.h" #include "And.h"
#include "AP.h" #include "AP.h"
@ -22,4 +22,4 @@
#include "ProbabilisticIntervalOperator.h" #include "ProbabilisticIntervalOperator.h"
#include "Until.h" #include "Until.h"
#endif /* FORMULAS_H_ */
#endif /* MRMC_FORMULA_FORMULAS_H_ */

6
src/formula/Next.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef NEXT_H_
#define NEXT_H_
#ifndef MRMC_FORMULA_NEXT_H_
#define MRMC_FORMULA_NEXT_H_
#include "PCTLPathFormula.h" #include "PCTLPathFormula.h"
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -124,4 +124,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* NEXT_H_ */
#endif /* MRMC_FORMULA_NEXT_H_ */

6
src/formula/Not.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef NOT_H_
#define NOT_H_
#ifndef MRMC_FORMULA_NOT_H_
#define MRMC_FORMULA_NOT_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -117,4 +117,4 @@ private:
} //namespace MRMC } //namespace MRMC
#endif /* NOT_H_ */
#endif /* MRMC_FORMULA_NOT_H_ */

6
src/formula/Or.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef OR_H_
#define OR_H_
#ifndef MRMC_FORMULA_OR_H_
#define MRMC_FORMULA_OR_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -153,4 +153,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* OR_H_ */
#endif /* MRMC_FORMULA_OR_H_ */

6
src/formula/PCTLPathFormula.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef PCTLPATHFORMULA_H_
#define PCTLPATHFORMULA_H_
#ifndef MRMC_FORMULA_PCTLPATHFORMULA_H_
#define MRMC_FORMULA_PCTLPATHFORMULA_H_
#include "PCTLformula.h" #include "PCTLformula.h"
#include "modelChecker/DtmcPrctlModelChecker.h" #include "modelChecker/DtmcPrctlModelChecker.h"
@ -62,4 +62,4 @@ public:
} //namespace mrmc } //namespace mrmc
#endif /* PCTLPATHFORMULA_H_ */
#endif /* MRMC_FORMULA_PCTLPATHFORMULA_H_ */

6
src/formula/PCTLStateFormula.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef PCTLSTATEFORMULA_H_
#define PCTLSTATEFORMULA_H_
#ifndef MRMC_FORMULA_PCTLSTATEFORMULA_H_
#define MRMC_FORMULA_PCTLSTATEFORMULA_H_
#include "PCTLformula.h" #include "PCTLformula.h"
#include "storage/BitVector.h" #include "storage/BitVector.h"
@ -63,4 +63,4 @@ public:
} //namespace mrmc } //namespace mrmc
#endif /* PCTLSTATEFORMULA_H_ */
#endif /* MRMC_FORMULA_PCTLSTATEFORMULA_H_ */

6
src/formula/PCTLformula.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef PCTLFORMULA_H_
#define PCTLFORMULA_H_
#ifndef MRMC_FORMULA_PCTLFORMULA_H_
#define MRMC_FORMULA_PCTLFORMULA_H_
#include <string> #include <string>
@ -45,4 +45,4 @@ public:
} //namespace mrmc } //namespace mrmc
#endif /* PCTLFORMULA_H_ */
#endif /* MRMC_FORMULA_PCTLFORMULA_H_ */

6
src/formula/ProbabilisticIntervalOperator.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef PROBABILISTICINTERVALOPERATOR_H_
#define PROBABILISTICINTERVALOPERATOR_H_
#ifndef MRMC_FORMULA_PROBABILISTICINTERVALOPERATOR_H_
#define MRMC_FORMULA_PROBABILISTICINTERVALOPERATOR_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
#include "PCTLPathFormula.h" #include "PCTLPathFormula.h"
@ -173,4 +173,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* PROBABILISTICINTERVALOPERATOR_H_ */
#endif /* MRMC_FORMULA_PROBABILISTICINTERVALOPERATOR_H_ */

7
src/formula/ProbabilisticNoBoundsOperator.h

@ -5,8 +5,8 @@
* Author: thomas * Author: thomas
*/ */
#ifndef PROBABILISTICNOBOUNDSOPERATOR_H_
#define PROBABILISTICNOBOUNDSOPERATOR_H_
#ifndef MRMC_FORMULA_PROBABILISTICNOBOUNDSOPERATOR_H_
#define MRMC_FORMULA_PROBABILISTICNOBOUNDSOPERATOR_H_
#include "PCTLformula.h" #include "PCTLformula.h"
#include "PCTLPathFormula.h" #include "PCTLPathFormula.h"
@ -97,4 +97,5 @@ private:
} /* namespace formula */ } /* namespace formula */
} /* namespace mrmc */ } /* namespace mrmc */
#endif /* PROBABILISTICNOBOUNDSOPERATOR_H_ */
#endif /* MRMC_FORMULA_PROBABILISTICNOBOUNDSOPERATOR_H_ */

7
src/formula/ProbabilisticOperator.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef PROBABILISTICOPERATOR_H_
#define PROBABILISTICOPERATOR_H_
#ifndef MRMC_FORMULA_PROBABILISTICOPERATOR_H_
#define MRMC_FORMULA_PROBABILISTICOPERATOR_H_
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -153,4 +153,5 @@ private:
} /* namespace formula */ } /* namespace formula */
} /* namespace mrmc */ } /* namespace mrmc */
#endif /* PROBABILISTICOPERATOR_H_ */
#endif /* MRMC_FORMULA_PROBABILISTICOPERATOR_H_ */

6
src/formula/Until.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef UNTIL_H_
#define UNTIL_H_
#ifndef MRMC_FORMULA_UNTIL_H_
#define MRMC_FORMULA_UNTIL_H_
#include "PCTLPathFormula.h" #include "PCTLPathFormula.h"
#include "PCTLStateFormula.h" #include "PCTLStateFormula.h"
@ -153,4 +153,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* UNTIL_H_ */
#endif /* MRMC_FORMULA_UNTIL_H_ */

6
src/modelChecker/DtmcPrctlModelChecker.h

@ -5,8 +5,8 @@
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef DTMCPRCTLMODELCHECKER_H_
#define DTMCPRCTLMODELCHECKER_H_
#ifndef MRMC_MODELCHECKER_DTMCPRCTLMODELCHECKER_H_
#define MRMC_MODELCHECKER_DTMCPRCTLMODELCHECKER_H_
namespace mrmc { namespace mrmc {
@ -262,4 +262,4 @@ private:
} //namespace mrmc } //namespace mrmc
#endif /* DTMCPRCTLMODELCHECKER_H_ */
#endif /* MRMC_MODELCHECKER_DTMCPRCTLMODELCHECKER_H_ */

6
src/modelChecker/EigenDtmcPrctlModelChecker.h

@ -5,8 +5,8 @@
* Author: * Author:
*/ */
#ifndef EIGENDTMCPRCTLMODELCHECKER_H_
#define EIGENDTMCPRCTLMODELCHECKER_H_
#ifndef MRMC_MODELCHECKER_EIGENDTMCPRCTLMODELCHECKER_H_
#define MRMC_MODELCHECKER_EIGENDTMCPRCTLMODELCHECKER_H_
#include "src/utility/Vector.h" #include "src/utility/Vector.h"
@ -226,4 +226,4 @@ public:
} //namespace mrmc } //namespace mrmc
#endif /* EIGENDTMCPRCTLMODELCHECKER_H_ */
#endif /* MRMC_MODELCHECKER_EIGENDTMCPRCTLMODELCHECKER_H_ */

6
src/modelChecker/GmmxxDtmcPrctlModelChecker.h

@ -5,8 +5,8 @@
* Author: Christian Dehnert * Author: Christian Dehnert
*/ */
#ifndef GMMXXDTMCPRCTLMODELCHECKER_H_
#define GMMXXDTMCPRCTLMODELCHECKER_H_
#ifndef MRMC_MODELCHECKER_GMMXXDTMCPRCTLMODELCHECKER_H_
#define MRMC_MODELCHECKER_GMMXXDTMCPRCTLMODELCHECKER_H_
#include <cmath> #include <cmath>
@ -269,4 +269,4 @@ public:
} //namespace mrmc } //namespace mrmc
#endif /* GMMXXDTMCPRCTLMODELCHECKER_H_ */
#endif /* MRMC_MODELCHECKER_GMMXXDTMCPRCTLMODELCHECKER_H_ */

8
src/models/AtomicPropositionsLabeling.h

@ -1,12 +1,12 @@
/* /*
* labeling.h
* AtomicPropositionsLabeling.h
* *
* Created on: 10.09.2012 * Created on: 10.09.2012
* Author: Thomas Heinemann * Author: Thomas Heinemann
*/ */
#ifndef MRMC_MODELS_ATOMIC_PROPOSITIONS_LABELING_H_
#define MRMC_MODELS_ATOMIC_PROPOSITIONS_LABELING_H_
#ifndef MRMC_MODELS_ATOMICPROPOSITIONSLABELING_H_
#define MRMC_MODELS_ATOMICPROPOSITIONSLABELING_H_
#include "src/storage/BitVector.h" #include "src/storage/BitVector.h"
#include "src/exceptions/OutOfRangeException.h" #include "src/exceptions/OutOfRangeException.h"
@ -231,4 +231,4 @@ private:
} // namespace mrmc } // namespace mrmc
#endif /* MRMC_MODELS_ATOMIC_PROPOSITIONS_LABELING_H_ */
#endif /* MRMC_MODELS_ATOMICPROPOSITIONSLABELING_H_ */

8
src/models/Dtmc.h

@ -1,12 +1,12 @@
/* /*
* dtmc.h
* Dtmc.h
* *
* Created on: 14.11.2012 * Created on: 14.11.2012
* Author: Christian Dehnert * Author: Christian Dehnert
*/ */
#ifndef DTMC_H_
#define DTMC_H_
#ifndef MRMC_MODELS_DTMC_H_
#define MRMC_MODELS_DTMC_H_
#include <ostream> #include <ostream>
#include <memory> #include <memory>
@ -155,4 +155,4 @@ private:
} // namespace mrmc } // namespace mrmc
#endif /* DTMC_H_ */
#endif /* MRMC_MODELS_DTMC_H_ */

8
src/models/GraphTransitions.h

@ -1,12 +1,12 @@
/* /*
* backward_transitions.h
* GraphTransitions.h
* *
* Created on: 17.11.2012 * Created on: 17.11.2012
* Author: Christian Dehnert * Author: Christian Dehnert
*/ */
#ifndef GRAPHTRANSITIONS_H_
#define BACKWARDTRANSITIONS_H_
#ifndef MRMC_MODELS_GRAPHTRANSITIONS_H_
#define MRMC_MODELS_GRAPHTRANSITIONS_H_
#include "src/storage/SquareSparseMatrix.h" #include "src/storage/SquareSparseMatrix.h"
@ -175,4 +175,4 @@ private:
} // namespace mrmc } // namespace mrmc
#endif /* GRAPHTRANSITIONS_H_ */
#endif /* MRMC_MODELS_GRAPHTRANSITIONS_H_ */

6
src/solver/GraphAnalyzer.h

@ -5,8 +5,8 @@
* Author: Christian Dehnert * Author: Christian Dehnert
*/ */
#ifndef GRAPHANALYZER_H_
#define GRAPHANALYZER_H_
#ifndef MRMC_SOLVER_GRAPHANALYZER_H_
#define MRMC_SOLVER_GRAPHANALYZER_H_
#include "src/models/Dtmc.h" #include "src/models/Dtmc.h"
#include "src/exceptions/InvalidArgumentException.h" #include "src/exceptions/InvalidArgumentException.h"
@ -127,4 +127,4 @@ public:
} // namespace mrmc } // namespace mrmc
#endif /* GRAPHANALYZER_H_ */
#endif /* MRMC_SOLVER_GRAPHANALYZER_H_ */

6
src/storage/BitVector.h

@ -1,5 +1,5 @@
#ifndef MRMC_VECTOR_BITVECTOR_H_
#define MRMC_VECTOR_BITVECTOR_H_
#ifndef MRMC_STORAGE_BITVECTOR_H_
#define MRMC_STORAGE_BITVECTOR_H_
#include <exception> #include <exception>
#include <new> #include <new>
@ -544,4 +544,4 @@ private:
} // namespace mrmc } // namespace mrmc
#endif // MRMC_SPARSE_STATIC_SPARSE_MATRIX_H_
#endif // MRMC_STORAGE_BITVECTOR_H_

5
src/utility/OsDetection.h

@ -1,4 +1,5 @@
#pragma once
#ifndef MRMC_UTILITY_OSDETECTION_H_
#define MRMC_UTILITY_OSDETECTION_H_
#if defined __linux__ || defined __linux #if defined __linux__ || defined __linux
# define LINUX # define LINUX
@ -13,3 +14,5 @@
#else #else
# error Could not detect Operating System # error Could not detect Operating System
#endif #endif
#endif // MRMC_UTILITY_OSDETECTION_H_
Loading…
Cancel
Save