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

Loading…
Cancel
Save