Advertisement
tamarin_vs19

Untitled

May 24th, 2021 (edited)
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. satStatesAF :: Model -> CtlFormula -> Set State
  2. satStatesAF m f = satStatesAF' (satStates m f)
  3. where
  4. satStatesAF' :: Set State -> Set State
  5. satStatesAF' s = let new_s = s `union` preAll m s in
  6. if Set.size s == Set.size new_s
  7. then new_s
  8. else satStatesAF' new_s
  9.  
  10. satStatesEU :: Model -> CtlFormula -> CtlFormula -> Set State
  11. satStatesEU m f1 f2 = satStatesEU' (satStates m f2)
  12. where
  13. x = (satStates m f1)
  14. satStatesEU' :: Set State -> Set State
  15. satStatesEU' y = let new_y = y `union` preEx m (y `intersection` x) in
  16. if Set.size y == Set.size new_y
  17. then new_y
  18. else satStatesEU' new_y
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement