verigraph-1.1.1: Software specification and verification tool based on graph rewriting.

Safe HaskellSafe
LanguageHaskell2010

TypedGraph.DPO.OccurenceRelation

Synopsis

Documentation

happensAfterAction :: Relation -> RelationItem -> String -> Bool Source #

Tests wether an item appears after a rule in a given occurrence relation

happensBeforeAction :: Relation -> RelationItem -> String -> Bool Source #

Tests wether an item appears before a rule in a given occurrence relation

neverDeleted :: RelationItem -> Relation -> Bool Source #

Given a relation item i and the deletion relation of an doubly typed grammar, it returns True if the item is deleted by some rule in this relation and False otherwise