Browse Source
function returns independent symmetries
function returns independent symmetries
Former-commit-id: 674f0bcff2
tempestpy_adaptions
sjunges
9 years ago
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 |
|||
#define SYMMETRICUNITS_H |
|||
|
|||
|
|||
|
|||
#endif /* SYMMETRICUNITS_H */ |
|||
#pragma once |
|||
|
|||
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; |
|||
} |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue