Browse Source

use vectors instead of sets

Former-commit-id: fb037378cb
tempestpy_adaptions
ThomasH 9 years ago
parent
commit
cb839bedc8
  1. 6
      src/storage/gspn/GSPN.h

6
src/storage/gspn/GSPN.h

@ -1,7 +1,7 @@
#ifndef STORM_GSPN_H #ifndef STORM_GSPN_H
#define STORM_GSPN_H #define STORM_GSPN_H
#include <set>
#include <vector>
#include "ImmediateTransition.h" #include "ImmediateTransition.h"
#include "TimedTransition.h" #include "TimedTransition.h"
#include "Marking.h" #include "Marking.h"
@ -16,10 +16,10 @@ namespace storm {
typedef double WeightType; typedef double WeightType;
private: private:
// set containing all immediate transitions // set containing all immediate transitions
std::set<storm::gspn::ImmediateTransition<WeightType>> immediateTransitions;
std::vector<storm::gspn::ImmediateTransition<WeightType>> immediateTransitions;
// set containing all timed transitions // set containing all timed transitions
std::set<storm::gspn::TimedTransition<RateType>> timedTransitions;
std::vector<storm::gspn::TimedTransition<RateType>> timedTransitions;
// initial marking // initial marking
storm::gspn::Marking initialMarking; storm::gspn::Marking initialMarking;

Loading…
Cancel
Save