4 changed files with 39 additions and 16 deletions
-
15src/storage/dft/DFT.cpp
-
4src/storage/dft/DFT.h
-
33src/storage/dft/SymmetricUnits.h
-
3src/storm-dyftee.cpp
@ -1,7 +1,28 @@ |
|||||
#ifndef SYMMETRICUNITS_H |
#pragma once |
||||
#define SYMMETRICUNITS_H |
|
||||
|
|
||||
|
|
||||
|
|
||||
#endif /* SYMMETRICUNITS_H */ |
|
||||
|
|
||||
|
namespace storm { |
||||
|
namespace storage { |
||||
|
struct DFTIndependentSymmetries { |
||||
|
std::map<size_t, std::vector<std::vector<size_t>>> groups; |
||||
|
|
||||
|
DFTIndependentSymmetries(std::map<size_t, std::vector<std::vector<size_t>>> groups) : groups(groups) { |
||||
|
|
||||
|
} |
||||
|
}; |
||||
|
|
||||
|
inline std::ostream& operator<<(std::ostream& os, DFTIndependentSymmetries const& s) { |
||||
|
for(auto const& cl : s.groups) { |
||||
|
std::cout << "SYM GROUP FOR " << cl.first << std::endl; |
||||
|
for(auto const& eqClass : cl.second) { |
||||
|
for(auto const& i : eqClass) { |
||||
|
std::cout << i << " "; |
||||
|
} |
||||
|
std::cout << std::endl; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
return os; |
||||
|
} |
||||
|
} |
||||
|
} |
Reference in new issue
xxxxxxxxxx