4 changed files with 39 additions and 16 deletions
			
			
		- 
					15src/storage/dft/DFT.cpp
 - 
					4src/storage/dft/DFT.h
 - 
					27src/storage/dft/SymmetricUnits.h
 - 
					3src/storm-dyftee.cpp
 
@ -1,7 +1,28 @@ | 
			
		|||||
#ifndef SYMMETRICUNITS_H | 
				 | 
			
		||||
#define	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) { | 
			
		||||
                 | 
				                 | 
			
		||||
#endif	/* SYMMETRICUNITS_H */ | 
				 | 
			
		||||
 | 
				            } | 
			
		||||
 | 
				        }; | 
			
		||||
         | 
				         | 
			
		||||
 | 
				        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