| 
					
					
						
							
						
					
					
				 | 
				@ -74,7 +74,7 @@ namespace storm { | 
			
		
		
	
		
			
				 | 
				 | 
				            template<typename ValueType> | 
				 | 
				 | 
				            template<typename ValueType> | 
			
		
		
	
		
			
				 | 
				 | 
				            MDPSparseModelCheckingHelperReturnType<ValueType> SparseSmgRpatlHelper<ValueType>::computeGloballyProbabilities(Environment const& env, storm::solver::SolveGoal<ValueType>&& goal, storm::storage::SparseMatrix<ValueType> const& transitionMatrix, storm::storage::SparseMatrix<ValueType> const& backwardTransitions, storm::storage::BitVector const& psiStates, bool qualitative, storm::storage::BitVector statesOfCoalition, bool produceScheduler, ModelCheckerHint const& hint) { | 
				 | 
				 | 
				            MDPSparseModelCheckingHelperReturnType<ValueType> SparseSmgRpatlHelper<ValueType>::computeGloballyProbabilities(Environment const& env, storm::solver::SolveGoal<ValueType>&& goal, storm::storage::SparseMatrix<ValueType> const& transitionMatrix, storm::storage::SparseMatrix<ValueType> const& backwardTransitions, storm::storage::BitVector const& psiStates, bool qualitative, storm::storage::BitVector statesOfCoalition, bool produceScheduler, ModelCheckerHint const& hint) { | 
			
		
		
	
		
			
				 | 
				 | 
				                // the idea is to implement the definition of globally as in the formula:
 | 
				 | 
				 | 
				                // the idea is to implement the definition of globally as in the formula:
 | 
			
		
		
	
		
			
				 | 
				 | 
				                // G phi = not(F(not psi)) = not(true U (not psi))
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                // G psi = not(F(not psi)) = not(true U (not psi))
 | 
			
		
		
	
		
			
				 | 
				 | 
				                // so the psiStates are flipped, then the true U part is calculated, at the end the result is flipped again
 | 
				 | 
				 | 
				                // so the psiStates are flipped, then the true U part is calculated, at the end the result is flipped again
 | 
			
		
		
	
		
			
				 | 
				 | 
				                storm::storage::BitVector notPsiStates = ~psiStates; | 
				 | 
				 | 
				                storm::storage::BitVector notPsiStates = ~psiStates; | 
			
		
		
	
		
			
				 | 
				 | 
				                statesOfCoalition.complement(); | 
				 | 
				 | 
				                statesOfCoalition.complement(); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |